chatGPT-shell-cli icon indicating copy to clipboard operation
chatGPT-shell-cli copied to clipboard

Installation Error

Open ImahnShekhzadeh opened this issue 2 years ago • 6 comments

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 avatar Nov 02 '23 00:11 ImahnShekhzadeh

Idem with MacOS Sonoma 14.1.2

Apolofx avatar Dec 28 '23 17:12 Apolofx

I am also getting this error on WSL Ubuntu 22.04

beeCwright avatar May 24 '24 14:05 beeCwright

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.

beeCwright avatar May 24 '24 15:05 beeCwright