Skip to content

Commit db7f120

Browse files
authored
Merge pull request #5 from ebenjs/add-miscelleanous-files
fix install steps / added copy step
2 parents 6a4f7dd + 0339c6d commit db7f120

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,20 @@ npm install
4242
### Linux and MacOS
4343

4444
```bash
45+
cp .env.example .env
4546
sudo chmod +x index.js
4647
ln -s "$(pwd)/index.js" /usr/local/bin/gptshell
4748
```
4849

4950
### Windows
5051

51-
On windows you need to create a `gptshell.cmd` file in `C:\Windows\System32` with the following content:
52+
On windows, first you need to copy the `.env.example` file to `.env`.
53+
54+
```cmd
55+
copy .env.example .env
56+
```
57+
58+
Then you need to create a `gptshell.cmd` file in `C:\Windows\System32` with the following content:
5259

5360
```cmd
5461
@echo off

0 commit comments

Comments
 (0)