Synopsis
Description
Thelaunch command provides a convenient way to:
- Open the Ollama interactive menu
- Launch editor integrations (Claude Code, Cline, Codex, Droid, OpenCode, OpenClaw, Pi)
- Configure model selections for integrations
- Pass additional arguments to launched applications
launch is equivalent to running ollama directly and opens the main TUI menu.
Arguments
Optional integration name to launch directly. Available integrations:
claude- Claude Codecline- Clinecodex- Codexdroid- Droidopencode- OpenCodeopenclaw- OpenClaw (aliases:clawdbot,moltbot)pi- Pi
Additional arguments to pass to the integration. Use
-- to separate Ollama arguments from integration arguments.Options
Specify a model to use with the integration without opening the selector
Configure the integration (select/change models) without launching
Examples
Launch Interactive Menu
Open the main Ollama menu:- Run a model
- Launch editor integrations
- Configure settings
Launch Specific Integration
Launch an integration directly:Launch with Model Selection
Specify a model without prompting:Configure Integration
Change model selection without launching:Pass Additional Arguments
Pass arguments to the integration:Supported Integrations
Claude Code
Cline
Codex
Droid
OpenCode
OpenClaw
Pi
Configuration
Integrations are configured in~/.ollama/config.json:
Configuration Options
- models: Array of model names configured for the integration
- onboarded: Whether initial setup has been completed
- aliases: Custom aliases for models (integration-specific)
Integration States
Not Configured
First launch prompts for model selection:Configured
Subsequent launches use saved model:Reconfigure
Change the configured model:Model Selection
When prompted, you can select from:- Local models (from
ollama list) - Cloud models (if enabled)
- Recently used models (highlighted)
Environment Variables
Ollama server address
Exit Codes
0- Success1- Error (integration not found, model not available, etc.)
Troubleshooting
Integration Not Found
Integration Not Installed
If the integration application isn’t installed:Model Not Available
If the specified model doesn’t exist:Server Not Running
launch command starts the server automatically if needed. If this error persists, try:
Advanced Usage
Automation
Launch integrations from scripts:Multiple Configurations
Configure different models for different integrations:Desktop Integration
Create desktop shortcuts:Integration Architecture
Thelaunch command:
- Checks server: Ensures Ollama server is running
- Validates integration: Confirms integration exists and is installed
- Loads config: Reads
~/.ollama/config.json - Handles model selection: Prompts if needed or uses specified model
- Saves configuration: Updates config file with selections
- Launches application: Starts the integration with appropriate settings
Related Commands
ollama run- Run a model directlyollama serve- Start the Ollama serverollama list- See available models for integration configuration