Skip to content

ChatGPT Terminal is an interactive CLI application that uses OpenAI's GPT-3.5 which allows users to chat with a state-of-the-art language model right from their terminal. Install it in seconds using our easy-to-use installer script and start chatting with GPT-3's impressive abilities.

License

Notifications You must be signed in to change notification settings

renanleonellocastro/chatgpt-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 ChatGPT Terminal

Standard Version PoweredBy License: MIT

ChatGPT Terminal is a command-line tool that uses the OpenAI API to generate text completions for user input.

Demo GIF

📦 Installation

To install ChatGPT Terminal, first clone the repository:

git clone [email protected]:renanleonellocastro/chatgpt-terminal.git

📝 Script installation

To install the ChatGPT command-line tool, navigate to the repository directory and run the installation script:

chmod +x install.sh
./install.sh

🛠️ Manual installation

If you prefer, you can manually install the ChatGPT Terminal command-line tool by copying the chatgpt script to a directory in your system's PATH, such as /usr/local/bin. You'll also need to make the script executable:

sudo cp chatgpt /usr/local/bin
sudo chmod +x /usr/local/bin/chatgpt

🤔 Usage

If it is your first time using ChatGPT Terminal then you have to set up your OpenAI API key using the -a or --api flag. If you don't provide an API key, ChatGPT Terminal will look for a stored API key in a file called chatgpt_api_key.txt in the directory $HOME/.local.

chatgpt --api YOUR_API_KEY

To use ChatGPT Terminal, simply call the chatgpt command followed by your question. Here's an example:

chatgpt What is the color of the strawberry?

Usage GIF

🗑️ Uninstallation

To uninstall ChatGPT Terminal, navigate to the repository directory and run the uninstallation script:

chmod +x install.sh
./install.sh --uninstall

🤝 Contributing

Contributions are welcome! Feel free to open an issue or pull request.

📝 License

This project is licensed under the MIT License. See the LICENSE file for details.


If you find this tool useful, please give us a star on GitHub!

About

ChatGPT Terminal is an interactive CLI application that uses OpenAI's GPT-3.5 which allows users to chat with a state-of-the-art language model right from their terminal. Install it in seconds using our easy-to-use installer script and start chatting with GPT-3's impressive abilities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages