Skip to content

Commit 91ad63e

Browse files
Adding VSCode Terminal instructions
1 parent 873df99 commit 91ad63e

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ This is the simplest option if you only need to run the example locally.
3030
2. Click the green **Code** button.
3131
3. Click **Download ZIP**.
3232
4. Unzip the downloaded file.
33-
5. Open the unzipped project folder on your computer.
33+
5. Move it to your `Documents` folder.
34+
6. Open the unzipped project folder on your computer using [Visual Studio Code](https://code.visualstudio.com/).
3435

3536
> The unzipped folder may be named `OpenRouter-API-Example-main`.
3637
@@ -39,6 +40,7 @@ This is the simplest option if you only need to run the example locally.
3940
If you already have Git installed, you can clone the repo instead.
4041

4142
```bash
43+
cd path-on-your-computer-you-want-project-to-be-cloned-to
4244
git clone https://github.com/LaunchCodeEducation/OpenRouter-API-Example.git
4345
cd OpenRouter-API-Example
4446
```
@@ -51,8 +53,21 @@ cd OpenRouter-API-Example
5153

5254
Do not add quotes, labels, or extra lines.
5355

56+
## Open The Terminal In Visual Studio Code
57+
58+
After you open this project folder in Visual Studio Code:
59+
60+
1. Click **Terminal** in the top menu.
61+
2. Click **New Terminal**.
62+
3. A terminal panel will open at the bottom of the VS Code window.
63+
4. Make sure the terminal is in this project folder, where `hello_claude.py` is located.
64+
65+
You will run the Python command in that VS Code terminal window.
66+
5467
## Run The Example
5568

69+
Use the terminal window inside Visual Studio Code.
70+
5671
### macOS
5772

5873
Use `python3`, not `python`. On many Macs, `python` may point to a different interpreter or may not be available in the way you expect.
@@ -63,6 +78,8 @@ python3 hello_claude.py
6378

6479
### Windows
6580

81+
In the VS Code terminal, run:
82+
6683
```bat
6784
py hello_claude.py
6885
```

0 commit comments

Comments
 (0)