Claude Code Commands
Claude Code Commands
Section titled “Claude Code Commands”All Claude Code commands use the swixter claude prefix.
create
Section titled “create”Create a new profile for Claude Code.
swixter claude create <name>The interactive prompt asks for provider, API key, base URL, model, and optional auth token.
Options:
| Flag | Description |
|---|---|
-p, --provider <id> | Provider ID (skip prompt) |
-k, --api-key <key> | API key (skip prompt) |
-u, --base-url <url> | Custom base URL |
-m, --model <model> | Default model |
-t, --auth-token <token> | Auth token for ANTHROPIC_AUTH_TOKEN |
# Non-interactiveswixter claude create work \ --provider anthropic \ --api-key sk-ant-... \ --model claude-sonnet-4-6switch
Section titled “switch”Set the active profile for Claude Code.
swixter claude switch <name>List all Claude Code profiles.
swixter claude listShows all profiles with the active one highlighted.
Write the active profile to ~/.claude/settings.json.
swixter claude applyThis writes the API key, base URL, and model settings to Claude Code’s config. Non-API settings (MCP servers, approval policies) are preserved.
Launch Claude Code with the active profile.
swixter claude runSpawns the claude CLI. Passes any additional arguments through:
swixter claude run --print "explain this code"Modify an existing profile.
swixter claude edit <name>Opens an interactive prompt showing current values. Press Enter to keep, type new value to change.
delete
Section titled “delete”Remove a profile.
swixter claude delete <name>You cannot delete the currently active profile. Switch to another first.
install
Section titled “install”Install the Claude Code CLI using the recommended method for your platform.
swixter claude installShows available installation methods and picks the recommended one.
update-cli
Section titled “update-cli”Update the Claude Code CLI to the latest version.
swixter claude update-cliAlias: swixter claude upgrade