File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -90,19 +90,25 @@ npx mycoder "Your prompt here"
90
90
### Setting up API keys
91
91
92
92
1 . ** Temporary Environment Variables** :
93
+
94
+ From the command prompt (CMD):
93
95
```
94
96
set ANTHROPIC_API_KEY=your-api-key
95
97
```
96
-
97
- 2 . ** Persistent Environment Variables** :
98
+ In a PowerShell session:
99
+ ```
100
+ $env:ANTHROPIC_API_KEY="your-api-key"
101
+ ```
102
+
103
+ 3 . ** Persistent Environment Variables** :
98
104
- Right-click on "This PC" or "My Computer"
99
105
- Select "Properties"
100
106
- Click "Advanced system settings"
101
107
- Click "Environment Variables"
102
108
- Under "User variables", click "New"
103
109
- Add your API key (e.g., ANTHROPIC_API_KEY as variable name)
104
110
105
- 3 . ** Using .env File** :
111
+ 4 . ** Using .env File** :
106
112
- Create a file named ` .env ` in your project directory
107
113
- Add your API key: ` ANTHROPIC_API_KEY=your-api-key `
108
114
@@ -122,4 +128,4 @@ MyCoder can use a browser for research. On Windows:
122
128
- ** Node Version** : Ensure you're using Node.js 20+
123
129
- ** Path Issues** : Make sure npm global bin directory is in your PATH
124
130
125
- If you encounter any other issues, please check our [ Discord community] ( https://discord.gg/5K6TYrHGHt ) for help.
131
+ If you encounter any other issues, please check our [ Discord community] ( https://discord.gg/5K6TYrHGHt ) for help.
You can’t perform that action at this time.
0 commit comments