0xacx / chatGPT-shell-cli

Simple shell script to use OpenAI's ChatGPT and DALL-E from the terminal. No Python or JS required.
https://gptshell.cc
MIT License
1.11k stars 157 forks source link

Can not install #51

Closed halpz closed 1 year ago

halpz commented 1 year ago

here is my terminal output:

paul@laptop ~ % curl -sS https://raw.githubusercontent.com/0xacx/chatGPT-shell-cli/main/install.sh | sudo -E bash
Password:
zsh: done                   curl -sS  | 
zsh: suspended (tty input)  sudo -E bash
paul@laptop ~ % 
halpz commented 1 year ago

is this a zshell issue?

0xacx commented 1 year ago

I don't think so, I use zsh and the install script runs fine. I would say try downloading the install script manually and run it with sudo yourself. Alternatively, you don't necessarily need the install script, you can follow the instructions and install it manually. Lmk if that helps!

Zeioth commented 1 year ago

@halpz If you are on arch linux, now you have this two packages:

paru -S chatgpt-shell-cli
paru -S chatgpt-shell-cli-git
earthpyy commented 1 year ago

I'm having the same problem on macOS M2, zsh shell.
CleanShot 2566-03-23 at 22 03 19

Saving the install script as a file first, then run it using sudo -E bash ./install.sh works.

0xacx commented 1 year ago

Hm, actually after a bit of googling, it turns out it probably was a ohmyzsh or zsh issue. @earthpyy @halpz I would try updating to the latest version.

0xacx commented 1 year ago

Closing this issue as it is not a problem caused by the script itself.