Skip to content

Claude Code Commands

All Claude Code commands use the swixter claude prefix.

Create a new profile for Claude Code.

Terminal window
swixter claude create <name>

The interactive prompt asks for provider, API key, base URL, model, and optional auth token.

Options:

FlagDescription
-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
Terminal window
# Non-interactive
swixter claude create work \
--provider anthropic \
--api-key sk-ant-... \
--model claude-sonnet-4-6

Set the active profile for Claude Code.

Terminal window
swixter claude switch <name>

List all Claude Code profiles.

Terminal window
swixter claude list

Shows all profiles with the active one highlighted.

Write the active profile to ~/.claude/settings.json.

Terminal window
swixter claude apply

This 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.

Terminal window
swixter claude run

Spawns the claude CLI. Passes any additional arguments through:

Terminal window
swixter claude run --print "explain this code"

Modify an existing profile.

Terminal window
swixter claude edit <name>

Opens an interactive prompt showing current values. Press Enter to keep, type new value to change.

Remove a profile.

Terminal window
swixter claude delete <name>

You cannot delete the currently active profile. Switch to another first.

Install the Claude Code CLI using the recommended method for your platform.

Terminal window
swixter claude install

Shows available installation methods and picks the recommended one.

Update the Claude Code CLI to the latest version.

Terminal window
swixter claude update-cli

Alias: swixter claude upgrade