Open CodeWithEhtisham opened 10 months ago
I ran this command to try installing using this modified script, but got this error:
$ curl -sS https://raw.githubusercontent.com/0xacx/chatGPT-shell-cli/7f4134a3acb757bba1adfc15e55971b53725f151/install.sh | sudo -E bash
[sudo] password for <redacted>:
Installed chatgpt script to /usr/local/bin/chatgpt
The script will add the OPENAI_KEY environment variable to your shell profile and add /usr/local/bin to your PATH
Would you like to continue? (Yes/No)
OpenAI key and chatgpt path added to ~/.profile
Installation complete
bash: line 90: syntax error near unexpected token `else'
bash: line 90: `else'
https://github.com/CodeWithEhtisham/chatGPT-shell-cli/blob/main/install.sh
here is my file copy the code and run in the terminal @austin-bowen
solve the installation error and fixed the bugs in install.sh file #134