Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax error near unexpected token `else' solve #135

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CodeWithEhtisham
Copy link

solve the installation error and fixed the bugs in install.sh file #134

@austin-bowen
Copy link

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'

@CodeWithEhtisham
Copy link
Author

CodeWithEhtisham commented Oct 27, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants