File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 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"
9595### Setting up API keys
9696
97971 . ** 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.
You can’t perform that action at this time.
0 commit comments