tgpt
A cross-platform command-line tool for chatting with AI models in the terminal without API keys.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
2 more ways to get tgpt
Package managers
- Chocolatey
choco install tgpt - Homebrew
brew install tgpt
About tgpt
tgpt is a command-line program that lets you use AI chatbots from your terminal. It connects to a set of built-in providers, several of which can be used for free without setting up an API key, so it works straight after installation.
It is written in Go and ships with install scripts for Linux and macOS and a PowerShell script for Windows. It suits people who want quick AI answers in a shell session without opening a browser or registering with a provider.
Strengths
- Works without an API key
- Single Go binary for Linux, macOS and Windows
- Quick to use inside a shell session
Limitations
- Relies on third-party providers that can change or stop working
- Terminal only
Details
- Pricing
- FreeFree and open source.
- License
- Open source, license not stated
- Developer
- aandrew-me
- Platforms
- Windows, macOS, Linux, Command line
- How it runs
- Downloadable app
- Account
- Not required
- Works offline
- No
- Best suited for
- Terminal users who want free AI chat without setting up API keys
- Categories
- CLI tools, AI assistants
- Last verified
- Added
- Sources
Alternatives to tgpt
Compare allSoftware that can replace tgpt for an important use case, and what changes if you switch.
ShellGPT
A command-line AI assistant that generates shell commands, code snippets and documentation from prompts.
ShellGPT is an MIT-licensed Python tool that generates shell commands and code from prompts, but it needs an API key or a configured model backend.
AIChat
A command-line tool for chatting with language models, with a shell assistant, RAG and agents.
AIChat is a command-line tool for many providers and local Ollama models with a shell assistant, RAG and agents, though hosted providers need API keys.
LLM
A command-line tool and Python library for prompting remote and locally installed language models.
LLM is a command-line tool and Python library for remote and local models with SQLite logging and plugins, requiring provider setup rather than working keyless.
oterm
A terminal chat client for Ollama, OpenAI, Anthropic and other language model providers.
oterm is an MIT terminal chat client for local Ollama models and hosted providers, installed with uvx, where hosted providers need API keys.
Elia
A keyboard-driven terminal app for chatting with cloud and local large language models.
Elia is a keyboard-driven terminal chat app for cloud and local models on macOS and Linux, with cloud models needing API keys from each provider.
Similar software
Related functionality, not necessarily a direct replacement.
llamafile
Packages a language model and the code to run it into one executable file that works on several operating systems without installation.
KoboldCpp
A single executable that runs GGUF language models locally, with a web interface and no installation at all.
OpenRouter
A unified API and chat interface that routes requests to hundreds of AI models across many providers.