-
Notifications
You must be signed in to change notification settings - Fork 4
Installation
Fame edited this page Aug 5, 2026
·
1 revision
Get started with Savant Code in 30 seconds.
- Node.js — v18 or later
- Ollama (optional) — For local inference, no API key required
npm install -g savant-codecd your-project
savant-codeDescribe the change you want. Savant Code explores the repository, plans the work, implements approved changes, and verifies the result.
If Ollama is installed and running, it is detected automatically:
# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh
# Pull a coding model
ollama pull codellama
# or
ollama pull deepseek-coder
# Launch Savant Code
savant-codeRun /health inside the chat to inspect Ollama connectivity, available local models, provider mode, and permission mode.
Savant Code supports multiple hosted providers. Use the interactive picker:
/providerOr configure one directly:
| Provider | Command | Environment Variable |
|---|---|---|
| OpenCode Go | /provider opencode-go |
OPENCODE_GO_API_KEY |
| TokenRouter | /provider tokenrouter |
TOKENROUTER_API_KEY |
| NVIDIA NIM | /provider nvidia |
NVIDIA_API_KEY |
| CommandCode | /provider commandcode |
COMMAND_CODE_API_KEY |
| OpenRouter | /provider openrouter |
OR_MASTER_KEY or OPENROUTER_API_KEY
|
Credentials are stored in the user configuration directory:
-
Windows:
C:\Users\<username>\.savant-code\credentials.json -
macOS/Linux:
~/.savant-code/credentials.json
Shell environment variables take precedence over saved credentials.
-
Install:
npm install -g savant-code -
Navigate:
cd your-project -
Launch:
savant-code -
Configure provider:
/provider(or use Ollama automatically) - Start coding: Describe what you want to build
After installation, verify everything works:
# Check version
savant-code --version
# Check health
# Inside Savant Code, run:
/health# Use a user-writable installation
npm install -g savant-code
# Or with elevated permissions
sudo npm install -g savant-codeRun /provider to configure a hosted provider, or install and start Ollama for local inference.
# Check provider status
# Inside Savant Code, run:
/health- ECHO Protocol — Learn about the governance system
- Agent Roster — Understand the 9 agents
- Features — Explore all features
- GitHub — Source code