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."
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?"