
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Welcome to terminalGPT, the terminal-based ChatGPT personal assistant app! With terminalGPT, you can easily interact with the OpenAI GPT-3.5 and GPT-4 language models.
Whether you need help with a quick question or want to explore a complex topic, TerminalGPT is here to assist you. Simply enter your query and TerminalGPT will provide you with the best answer possible based on its extensive knowledge base.
Some advantages of using TerminalGPT:
pip install terminalgpt -U --user
or
pip3 install terminalgpt -U --user
package_location=$(which terminalgpt)
rm "$package_location"
pipx install terminalgpt==2.2.6 --force
terminalgpt
command available in your terminal. Run the following install command to configure the app.terminalgpt install
Enter your OpenAI API key when prompted and press enter.
Choose one of the models below as the default model. it can be overridden with the -m --model
flag later.
Choose a printing style
That's it! You're ready to use TerminalGPT!
You can now start a new conversation with terminalgpt new
or load a previous conversation with terminalgpt load
. Also you can reinstall with terminalgpt install
or delete previous conversations with terminalgpt delete
.
Usage: terminalgpt [OPTIONS] COMMAND [ARGS]...
*~ TerminalGPT - Your Personal Terminal Assistant ~*
Options:
--version Show the version and exit.
-m, --model [gpt-3.5-turbo|gpt-4-turbo|gpt-4o|gpt-4o-mini|o1|o1-mini]
Choose a model to use. [default:
gpt-4o-mini]
-s, --style [markdown|plain] Output style. [default: plain]
-t, --token-limit INTEGER Set the token limit. this will override the
default token limit for the chosen model.
--help Show this message and exit.
Commands:
delete Choose a previous conversation to delete.
install Installing the OpenAI API key and setup some default settings.
load Choose a previous conversation to load.
new Start a new conversation.
one-shot One shot question answer.
Start a new conversation:
terminalgpt new
One shot question to get a fast answer in the terminal.
terminalgpt one-shot "What is the meaning of life?"
Note: I recommend to make an alias, see at Recommended aliases.
Load previous conversations:
terminalgpt load
Delete previous conversations:
terminalgpt delete
echo alias tgpt="terminalgpt one-shot" >> ~/.zshrc
echo alias tgpto="terminalgpt one-shot" >> ~/.zshrc
echo alias tgptn="terminalgpt new" >> ~/.zshrc
echo alias tgpt="terminalgpt one-shot" >> ~/.bashrc
echo alias tgpto="terminalgpt one-shot" >> ~/.bashrc
echo alias tgptn="terminalgpt new" >> ~/.bashrc
FAQs
AI chat assistant in your terminal powered by OpenAI ChatGPT models.
We found that terminalgpt demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.