Interact with ChatGPT in your terminal! Supported on Mac.
- An OpenAI API key. If you don't have one, you'll need to create an OpenAI Account, then create an OpenAI API key.
curl -sSL https://raw.githubusercontent.com/aamirrasheed/chatgpt-terminal/main/install.sh | zsh
This command downloads and executes the installation script, which:
- Copies
chatgpt.shinto~/.local/bin - Makes the script executable
- Adds the
chatgptalias to your shell config file.
Once you've installed, open your terminal and type chatgpt to begin your session.
