Skip to content

Commit 0fea5bd

Browse files
authored
Merge pull request #50 from webprofusion-chrisc/patch-1
Add env guidance for PowerShell
2 parents 7270ec5 + bc9743c commit 0fea5bd

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/getting-started/windows.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -95,19 +95,25 @@ npx mycoder "Your prompt here"
9595
### Setting up API keys
9696

9797
1. **Temporary Environment Variables**:
98+
99+
From the command prompt (CMD):
98100
```
99101
set ANTHROPIC_API_KEY=your-api-key
100102
```
101-
102-
2. **Persistent Environment Variables**:
103+
In a PowerShell session:
104+
```
105+
$env:ANTHROPIC_API_KEY="your-api-key"
106+
```
107+
108+
3. **Persistent Environment Variables**:
103109
- Right-click on "This PC" or "My Computer"
104110
- Select "Properties"
105111
- Click "Advanced system settings"
106112
- Click "Environment Variables"
107113
- Under "User variables", click "New"
108114
- Add your API key (e.g., ANTHROPIC_API_KEY as variable name)
109115

110-
3. **Using .env File**:
116+
4. **Using .env File**:
111117
- Create a file named `.env` in your project directory
112118
- Add your API key: `ANTHROPIC_API_KEY=your-api-key`
113119

@@ -127,4 +133,4 @@ MyCoder can use a browser for research. On Windows:
127133
- **Node Version**: Ensure you're using Node.js 20+
128134
- **Path Issues**: Make sure npm global bin directory is in your PATH
129135

130-
If you encounter any other issues, please check our [Discord community](https://discord.gg/5K6TYrHGHt) for help.
136+
If you encounter any other issues, please check our [Discord community](https://discord.gg/5K6TYrHGHt) for help.

0 commit comments

Comments
 (0)