claude-launcher
v0.5.0
Published
Launch Claude Code with multiple backends (Anthropic, OpenRouter, Ollama, NVIDIA NIM, LM Studio)
Maintainers
Readme
claude-launcher
Launch Claude Code with multiple backends (Anthropic, OpenRouter, Ollama, NVIDIA NIM, LM Studio).
Features
- Multiple backends - Anthropic, OpenRouter, Ollama, NVIDIA NIM, LM Studio
- OAuth login - authenticate with
claude-launcher login - Model picker - searchable model selection
- Exacto support - auto-uses
:exactovariants for better tool calling - Role models - configure different models for sonnet/opus/haiku tasks
- New model alerts - notifies when new models are available
- Local backends - run fully offline via Ollama or LM Studio
Install
npm install -g claude-launcher
# or
pnpm add -g claude-launcher
# or
yarn global add claude-launcher
# or
bun add -g claude-launcherRequires Claude Code installed.
Usage
claude-launcher # launch with saved settings
claude-launcher login # authenticate with OpenRouter
claude-launcher logout # clear stored credentials
claude-launcher -b # pick backend and model
claude-launcher -a # use Anthropic backend
claude-launcher -o # use OpenRouter backend
claude-launcher -l # use Ollama backend (local)
claude-launcher -n # use NVIDIA NIM backend
claude-launcher -s # use LM Studio backend (local)
claude-launcher -- --resume # pass args to claudeBackends
- Anthropic - standard Claude Code, no extra config
- OpenRouter - any model via OpenRouter; OAuth login or
OPENROUTER_API_KEY - Ollama - local models, auto-filtered to tool-capable ones
- NVIDIA NIM - cloud (
NVIDIA_API_KEY) or self-hosted endpoints - LM Studio - local models via the LM Studio server (host must include
/v1, e.g.http://localhost:1234/v1)
NIM and LM Studio run through an in-process Anthropic-to-OpenAI translation proxy.
First Run
- Run
claude-launcher -b - Select a backend
- Provide credentials if the backend needs them
- Pick a model
- Optionally configure role models (sonnet/opus/haiku)
Configuration
Settings stored at ~/.config/claude-launcher/config.json:
- Backend preference
- Selected models (main, sonnet, opus, haiku)
- API key (if logged in via OAuth)
Environment Variables
OPENROUTER_API_KEY- fallback if not logged in via OAuthNVIDIA_API_KEY- NIM cloud API key
License
MIT
