Tutorial
What you'll need
You will need to have your own OpenAI apikey in order to use GPT-Term.
Installation
To install GPT-Term you can use your favorite package manager.
- pnpm
- npm
- yarn
pnpm i -g gpt-term
npm i -g gpt-term
yarn i -g gpt-term
Starting a new chat
The first time you use the chat function it will prompt you for your key if one was not found. The key will be encrypted and stored in a text file on your machine.
gpt-term chat
The chat history is also saved to disk when you exit the chat, this allows it to remember what you were doing last. To prevent this you can pass a command line option to clear it
gpt-term chat --clear-history
To exit a chat you can type quit
exit
bye
.
Using with npx
npx gpt-term chat
npx
downloads gpt-term
to it's cache, to remove it run
rm -r ~/.npm/_npx/*/node_modules/gpt-term