Complete reference for every command, subcommand, and flag available in the consortium CLI.
- consortium — Start an AI coding session
- consortium auth — Authentication and credentials
- consortium connect — Connect AI vendor API keys
- consortium codex — Start a Codex (OpenAI) session
- consortium gemini — Start a Gemini (Google) session
- consortium daemon — Background service management
- consortium doctor — Diagnostics and troubleshooting
- consortium notify — Send push notifications
- Claude Code Passthrough Flags
Start an encrypted AI coding session with remote access from any device.
consortium [options]| Flag | Description |
|---|---|
--yolo |
Bypass all permission prompts (shorthand for --dangerously-skip-permissions) |
--pm |
Start as a Project Manager agent with session orchestration tools |
--chrome |
Enable Chrome browser access for this session |
--no-chrome |
Disable Chrome even if enabled by default |
--js-runtime <runtime> |
JavaScript runtime to use: node or bun (default: node) |
--claude-env <KEY=VALUE> |
Pass environment variables to Claude (e.g., ANTHROPIC_BASE_URL=...) |
--consortium-starting-mode <mode> |
Starting mode: local or remote |
--started-by <source> |
Who started this session: daemon or terminal |
-h, --help |
Show help and exit |
-v, --version |
Show version and exit |
# Start a new session
consortium
# Start with all permissions auto-approved
consortium --yolo
# Start as a Project Manager orchestrating multiple sessions
consortium --pm
# Start with Chrome browser access enabled
consortium --chrome
# Pass a custom API base URL to Claude
consortium --claude-env ANTHROPIC_BASE_URL=https://my-proxy.example.com
# Resume your most recent session
consortium --continue
# Resume a specific session by ID
consortium --resume abc123All unrecognised flags are passed directly to Claude Code. See Claude Code Passthrough Flags for the full list.
Manage authentication, credentials, and machine registration.
consortium auth <subcommand>Authenticate with Consortium and register this machine.
consortium auth login [--force]| Flag | Description |
|---|---|
--force, -f |
Clear existing credentials, machine ID, and daemon state before re-authenticating |
On first run, a cryptographic identity (Ed25519 key pair) is generated locally. A QR code is displayed in the terminal for pairing with your Consortium account via the web dashboard. No passwords or email addresses are needed.
Authenticate using a VPS provision configuration file.
consortium auth provision <config>| Argument | Description |
|---|---|
<config> |
Path to a provision configuration file |
Used for automated deployments on virtual private servers.
Remove all authentication data and machine registration from this device.
consortium auth logoutPrompts for confirmation before clearing the Consortium home directory and stopping the daemon.
Show the current authentication and machine registration status.
consortium auth statusDisplays:
- Authentication token (truncated preview)
- Machine ID
- Server host
- Daemon status
- Data directory path
consortium auth help
consortium auth --help
consortium auth -hConnect AI vendor API keys to Consortium's encrypted cloud storage so your sessions can use them across devices.
consortium connect <subcommand>Store your OpenAI API key.
consortium connect codexPrompts for your OpenAI API key and stores it encrypted in Consortium's cloud.
Store your Anthropic API key.
consortium connect claudePrompts for your Anthropic API key and stores it encrypted in Consortium's cloud.
Store your Gemini API key.
consortium connect geminiPrompts for your Gemini API key and stores it encrypted in Consortium's cloud.
Show the connection status for all AI vendors.
consortium connect statusDisplays whether each vendor (OpenAI, Anthropic, Gemini) is connected, expired, or not configured.
consortium connect help
consortium connect --help
consortium connect -hStart a coding session using OpenAI's Codex model.
consortium codex [options]| Flag | Description |
|---|---|
--started-by <source> |
Who started this session: daemon or terminal |
Requires a connected OpenAI API key (see consortium connect codex).
Start a coding session using Google's Gemini model, or manage Gemini configuration.
consortium gemini [subcommand] [options]Start a Gemini coding session.
consortium gemini| Flag | Description |
|---|---|
--started-by <source> |
Who started this session: daemon or terminal |
Set the Gemini model to use.
consortium gemini model set <model>| Model | Description |
|---|---|
gemini-2.5-pro |
Most capable model (default) |
gemini-2.5-flash |
Fast and efficient |
gemini-2.5-flash-lite |
Lightweight and fastest |
Show the currently configured Gemini model.
consortium gemini model getChecks the config file, then the GEMINI_MODEL environment variable, and defaults to gemini-2.5-pro.
Set the Google Cloud Project ID (required for Google Workspace accounts).
consortium gemini project set <project-id>| Argument | Description |
|---|---|
<project-id> |
Your Google Cloud Project ID |
Show the currently configured Google Cloud Project ID.
consortium gemini project getChecks the config file, then the GOOGLE_CLOUD_PROJECT environment variable.
Show project configuration help and setup guide.
consortium gemini projectManage the background daemon that enables spawning sessions from any device.
consortium daemon <subcommand>Start the daemon as a detached background process.
consortium daemon startThe daemon runs independently and survives terminal closure. It enables the web dashboard and mobile app to start and manage sessions on this machine.
Stop the running daemon.
consortium daemon stopActive sessions remain alive after the daemon stops.
Show the current daemon status.
consortium daemon statusList all active sessions the daemon is aware of.
consortium daemon listOutputs a JSON list of active sessions. Sessions started by older versions may not appear.
Stop a specific active session.
consortium daemon stop-session <session-id>| Argument | Description |
|---|---|
<session-id> |
The ID of the session to stop |
Print the path to the most recent daemon log file.
consortium daemon logsInstall the daemon as a system service so it starts automatically on boot.
consortium daemon installPlatform-specific installation (macOS launchd, Linux systemd, etc.).
Remove the daemon system service.
consortium daemon uninstallStart the daemon synchronously (internal use only).
consortium daemon start-syncUsed internally when the daemon is started by the CLI process itself.
Run system diagnostics or clean up stuck processes.
consortium doctor [subcommand]Run a full diagnostic check of your Consortium installation.
consortium doctorChecks and reports on:
- Environment configuration
- Installed dependencies
- Authentication status
- Daemon health
- Network connectivity
Kill any runaway or stuck Consortium processes.
consortium doctor cleanReports how many processes were found and terminated.
Send a push notification to your paired mobile devices.
consortium notify -p <message> [-t <title>]| Flag | Description |
|---|---|
-p <message> |
Notification message body (required) |
-t <title> |
Notification title (optional, defaults to "Consortium") |
-h, --help |
Show help |
# Send a simple notification
consortium notify -p "Deployment complete!"
# Send with a custom title
consortium notify -p "Database backup finished" -t "Server Status"
# Alert with title
consortium notify -t "Alert" -p "Build failed on main branch"Requires authentication (consortium auth login) and a paired mobile device.
Deprecated. Use
consortium auth logoutinstead.
consortium logoutDisplays a deprecation warning and forwards to consortium auth logout.
The consortium CLI passes all unrecognised flags directly to Claude Code. These are the most commonly used:
| Flag | Description |
|---|---|
--model <model> |
Use a specific Claude model (e.g., sonnet, opus) |
--max-turns <n> |
Limit the number of agent turns |
--continue |
Resume the most recent session in the current directory |
--resume <id> |
Resume a specific session by ID |
--allowedTools <tools> |
Comma-separated list of tools Claude is allowed to use |
--disallowedTools <tools> |
Comma-separated list of tools Claude cannot use |
--permission-mode <mode> |
Permission mode: default, acceptEdits, bypassPermissions, plan |
--system-prompt <prompt> |
Override the system prompt |
--append-system-prompt <prompt> |
Append text to the default system prompt |
--mcp-config <json> |
MCP server configuration (JSON string) |
--dangerously-skip-permissions |
Skip all permission checks (use --yolo as shorthand) |
--output-format <format> |
Output format: text, json, stream-json |
--input-format <format> |
Input format: text, stream-json |
--verbose |
Enable verbose output |
--fallback-model <model> |
Fallback model if primary is unavailable |
For the complete list of Claude Code flags, see the Claude Code documentation.
Built by Consortium
consortium.dev