ChatGPT in YOUR Terminal

ChatGPT in YOUR Terminal

Ai and ChatGPT is possible in your Windows, macOS, and Linux terminal! In this video we cover a small utility called tgpt that will allow you to run Ai prompts in your terminal without the need for API keys.

From their GitHub page the application is described as; "a cross-platform cli (commandline) tool that lets you use ChatGPT 3.5 in Terminal without API KEYS. It communicates with the Backend of Bai chatbot. Its written in Go."

GitHub - aandrew-me/tgpt: ChatGPT in terminal without needing API keys
ChatGPT in terminal without needing API keys. Contribute to aandrew-me/tgpt development by creating an account on GitHub.

In macOS and Linux just download the latest release and make the installer executable by right clicking and going to properties then permissions. Then in the terminal go to the directory of the downloaded repo run the installer with the following.


The Windows version was submitted to choco and is waiting to be approved.

Using tgpt in Terminal

All you need to do is type tgpt followed by your prompt in quotes. As of my testing this will not work like a conversation similar to the web version of ChatGPT, meaning you cannot reference past prompts.

tgpt "How do I install docker in Fedora?"

Checkout our Video Demo and Testing