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.05k stars 150 forks source link

uninstall instructions #50

Closed halpz closed 1 year ago

halpz commented 1 year ago

Hi could I suggest an uninstall script or instructions to undo everything the install script did?

thanks

0xacx commented 1 year ago

Yes, it's quite simple really:

  1. Go to your bash profile and remove the lines: export OPENAI_KEY=your key and export PATH=$PATH:/usr/local/bin
  2. Go to /usr/local/bin and delete the chatgpt file
  3. If you were using iTerm, imgcat was installed by the script so just go to /usr/local/bin/ and delete the imgcat file

The install script does not install curl and jq itself but asks you to do so. So in the same way you installed them you can use your package manager to uninstall i.e. brew uninstall curl, brew uninstall jq.

I think this should cover it, so I am closing this issue with this answer. Lmk if there's anything that is still unclear.