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 @@ -95,19 +95,25 @@ npx mycoder "Your prompt here"
95
95
### Setting up API keys
96
96
97
97
1 . ** Temporary Environment Variables** :
98
+
99
+ From the command prompt (CMD):
98
100
```
99
101
set ANTHROPIC_API_KEY=your-api-key
100
102
```
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** :
103
109
- Right-click on "This PC" or "My Computer"
104
110
- Select "Properties"
105
111
- Click "Advanced system settings"
106
112
- Click "Environment Variables"
107
113
- Under "User variables", click "New"
108
114
- Add your API key (e.g., ANTHROPIC_API_KEY as variable name)
109
115
110
- 3 . ** Using .env File** :
116
+ 4 . ** Using .env File** :
111
117
- Create a file named ` .env ` in your project directory
112
118
- Add your API key: ` ANTHROPIC_API_KEY=your-api-key `
113
119
@@ -127,4 +133,4 @@ MyCoder can use a browser for research. On Windows:
127
133
- ** Node Version** : Ensure you're using Node.js 20+
128
134
- ** Path Issues** : Make sure npm global bin directory is in your PATH
129
135
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.
You can’t perform that action at this time.
0 commit comments