CLI Tool
LocalGPT for your terminal.
Run AI models, chat, generate images, and manage everything from the command line. Like Ollama, but with built-in cloud support.
Instant SetupOpen Source30+ Models
bash
curl -fsSL https://raw.githubusercontent.com/localgpt/localgpt/main/cli/install.sh | bashInstallation
Choose your method
Recommended for macOS users. Easy updates with brew upgrade.
bash
brew tap localgpt/tap
brew install localgptAfter installing
bash
# Pull your first model
localgpt pull llama3.2
# Start chatting
localgpt run llama3.2Command Reference
Everything at your fingertips
localgpt run llama3.2localgpt pull mistrallocalgpt modelslocalgpt models --locallocalgpt models --cloudlocalgpt ask "What is Rust?"localgpt image "sunset mountains"localgpt config set-key openai sk-...localgpt run gpt-4olocalgpt run claude-sonnet-4-20250514localgpt listlocalgpt pslocalgpt show llama3.2localgpt rm llama3.2localgpt config showlocalgpt featureslocalgpt providerslocalgpt servelocalgpt version