Tip Of AI
Discover what you can do with AI
TerminalGPT is a package that allows you to access a GPT-like chat functionality directly from your terminal. With this package, you can have interactive conversations with the model and receive responses in real-time. To install TerminalGPT, you can use either npm or yarn: ```shell npm -g install terminalgpt ``` or ```shell yarn global add terminalgpt ``` Before using TerminalGPT, you'll need to have your own OpenAI apikey. You can generate your apikey by following the steps mentioned in the prerequisites section. Once you have the apikey, you can start the chat interface using the following command: ```shell tgpt chat ``` If it's your first time running TerminalGPT, it will prompt you to enter the OpenAI apikey. Simply paste the generated key from the prerequisite steps. TerminalGPT provides additional options like changing the engine and temperature. You can specify the engine and temperature using the `--engine` and `--temperature` flags respectively. By default, the engine is set to `gpt-3.5-turbo`. TerminalGPT also supports markdown formatting. You can enable markdown using the `--markdown` flag. Additionally, if you want to change or delete your apikey, you can use the `tgpt delete` command. TerminalGPT can also be used with npx. Running `npx terminalgpt` or `npx terminalgpt <command>` will execute TerminalGPT directly from the cache without installing the package. TerminalGPT is licensed under the MIT license and contributions are welcome. For more information on contributing, refer to the CONTRIBUTING.md file. TerminalGPT has garnered 884 stars and has 183 forks on GitHub. It is written in JavaScript and is widely used by various projects.