You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,6 @@ python -m gpt_cmd [...]
23
23
24
24
## Cutting a release
25
25
26
-
Pushing a version tag (e.g. `v.1.0.0`) will trigger the [release.yml](.github/workflows/release.yml) GitHub action, which will build binaries for supported OSes and publish a release with them.
26
+
Pushing a version tag (e.g. `v1.0.0`) will trigger the [release.yml](.github/workflows/release.yml) GitHub workflow, which will build binaries for supported OSes and publish a release with them.
27
27
28
28
The binaries are generated using [pyinstaller](https://pyinstaller.org/en/stable/).
Copy file name to clipboardExpand all lines: README.md
+7-20Lines changed: 7 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,9 @@ With this approach, ChatGPT is able to probe your system and try running command
34
34
> [!WARNING]
35
35
> In light of my other warning above, this install script is pulled directly from my GitHub repo, and is a potential vulnerability if the repo (or GitHub) becomes compromised. Always inspect scripts for shady behavior before running them on your device (even mine: [install.sh](https://raw.githubusercontent.com/chrisdothtml/gpt-cmd/main/install.sh)).
36
36
37
-
**NOTE**: the system requirements are: `bash` and either `curl` or `wget`
37
+
### Linux/MacOS
38
+
39
+
**NOTE**: the only system requirements are `bash` and either `curl` or `wget`.
See [Env var overrides](#env-var-overrides) section for changing the install dir.
48
+
The install script will make its best attempt to expose the binary to your `$PATH`, but if that doesn't work, you'll have to manually add it your path (install location is `$HOME/.gpt_cmd/`).
47
49
48
-
The install script will write to your `.profile` file to expose it to your `$PATH`, but if that doesn't work, you'll have to manually add it your path:
50
+
### Windows
49
51
50
-
```sh
51
-
# replace `$HOME` with your custom install dir if you used one
52
-
export PATH="$HOME/gpt_cmd/bin:$PATH"
53
-
```
52
+
There's not currently an automated installer for Windows, but you can download the `.exe` file from the [releases page](https://github.com/chrisdothtml/gpt-cmd/releases).
54
53
55
54
## Use
56
55
57
-
Before running, you need to create an `~/OPENAI_TOKEN` file and put your token in it.
56
+
**NOTE**: before running, you need to create an `~/OPENAI_TOKEN` file and put your token in it.
58
57
59
58
```sh
60
59
gpt_cmd <goal>
@@ -73,18 +72,6 @@ The `goal` can be literally anything you can achieve via a terminal (which is a
73
72
74
73
Enironment vars that you can provide to change the behavior of the tool.
0 commit comments