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

Installation Error #144

Open
ImahnShekhzadeh opened this issue Nov 2, 2023 · 3 comments
Open

Installation Error #144

ImahnShekhzadeh opened this issue Nov 2, 2023 · 3 comments

Comments

@ImahnShekhzadeh
Copy link

curl -sS https://raw.githubusercontent.com/0xacx/chatGPT-shell-cli/main/install.sh | sudo -E bash

output (ubuntu 22.04):

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 93: syntax error near unexpected token `else'
bash: line 93: `else'
@ImahnShekhzadeh ImahnShekhzadeh changed the title bash: line 93: syntax error near unexpected token else'` Installation Error Nov 2, 2023
@Apolofx
Copy link

Apolofx commented Dec 28, 2023

Idem with MacOS Sonoma 14.1.2

@beeCwright
Copy link

I am also getting this error on WSL Ubuntu 22.04

@beeCwright
Copy link

It doesn't seem like this repo is being maintained anymore. For anyone that encounters this issue just continue on trying to use it and enter the command: chatgpt after which you need to obtain and set your openai api key as an environment variable OPENAI_KEY, and it needs to belong to a paid subscription account.

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

No branches or pull requests

3 participants