CLI flags, all 215.
Arguments the claude command accepts, including the ones no help text mentions.
/
○ not in v2.1.243, ◆ Anthropic has never documented it.
Every CLI flag in the build
--ablationNo description from anybody. 2.1.198 – 2.1.243 ◆
--add-dirAdd additional working directories for Claude to read and edit files. Grants file access; most .claude/ configuration is [not discovered](/docs/en/permissions#additional-directories-grant-file-access-not-configuration) from these directories. Validates each path exists as a directory. To persist these directories across sessions, set [permissions.additionalDirectories](/docs/en/settings-reference#permissions-additionaldirectories) in settings 2.1.138 – 2.1.243
--agentSpecify an agent for the current session (overrides the agent setting) 2.1.138 – 2.1.243
--agentsDefine custom subagents dynamically via JSON. Accepts the [fields listed for CLI-defined subagents](/docs/en/sub-agents#choose-the-subagent-scope) 2.1.138 – 2.1.243
--allNo description from anybody. 2.1.138 – 2.1.243 ◆
--allow-dangerously-skip-permissionsAdd bypassPermissions to the Shift+Tab mode cycle without starting in it. Lets you begin in a different mode like plan and switch to bypassPermissions later. See [permission modes](/docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode) 2.1.138 – 2.1.243
--allow-toolsNo description from anybody. 2.1.198 – 2.1.243 ◆
--allowedNo description from anybody. 2.1.138 – 2.1.243 ◆
--allowed-toolsTools that execute without prompting for permission. See [permission rule syntax](/docs/en/settings-reference#permission-rule-syntax) for pattern matching. To restrict which tools are available, use --tools instead. If you name one of the [task-tracking tools](/docs/en/tools-reference#task-tool-availability) here, Claude Code also opts the session in 2.1.138 – 2.1.243
--allowedToolsTools that execute without prompting for permission. See [permission rule syntax](/docs/en/settings-reference#permission-rule-syntax) for pattern matching. To restrict which tools are available, use --tools instead. If you name one of the [task-tracking tools](/docs/en/tools-reference#task-tool-availability) here, Claude Code also opts the session in never mined ○
--api-urlThe setup wizard spawns a detached runner into ./runner-setup and warns it outlives your session. never mined ○ ◆
--append-system-promptAppend custom text to the end of the default system prompt never mined ○
--authorNo description from anybody. 2.1.157 – 2.1.243 ◆
--author-emailNo description from anybody. 2.1.157 – 2.1.243 ◆
--autocompactSet the [auto-compact window](/docs/en/model-config#set-the-auto-compact-window) for this session without changing your saved settings. Accepts the same values as /autocompact; that section covers the value forms and what overrides the flag. Requires Claude Code v2.1.221 or later never mined ○
--availableNo description from anybody. 2.1.138 – 2.1.243 ◆
--bareMinimal mode: skip auto-discovery of hooks, skills, custom commands, subagents, plugins, MCP servers, auto memory, and CLAUDE.md so scripted calls start faster. Skills in a directory you pass with --add-dir still load. Claude has access to Bash, file read, and file edit tools. Sets [CLAUDE_CODE_SIMPLE](/docs/en/env-vars). See [bare mode](/docs/en/headless#start-faster-with-bare-mode) 2.1.138 – 2.1.243
--base-dirThe setup wizard spawns a detached runner into ./runner-setup and warns it outlives your session. never mined ○ ◆
--batchUploaded git bundles are verified against your own checkout before being sent. never mined ○ ◆
--betasBeta headers to include in API requests (API key users only) 2.1.138 – 2.1.243
--bgStart the session as a [background agent](/docs/en/agent-view) and return immediately. Prints the session ID and management commands. Combine with --exec to run a shell command as a background job instead of a Claude session, or with --agent to run a specific subagent. Cannot be combined with -p/--print; see the [error reference](/docs/en/errors#command-line-errors) never mined ○
--bodyUpdating an existing PR now relies on your branch instead of passing a PR number. never mined ○ ◆
--cacheinfoSnapshots read git attributes from the right place in linked worktrees, and explain symlinked .gitattributes failures. never mined ○ ◆
--callback-portNo description from anybody. 2.1.138 – 2.1.243 ◆
--caseNo description from anybody. 2.1.198 – 2.1.243 ◆
--channels(Research preview) MCP servers whose [channel](/docs/en/channels) notifications Claude should listen for in this session. Space-separated list of plugin:<name>@<marketplace> entries. Requires Anthropic authentication through claude.ai or a Console API key never mined ○
--chromeEnable [Chrome browser integration](/docs/en/chrome) for web automation and testing 2.1.138 – 2.1.243
--claudeaiNo description from anybody. 2.1.138 – 2.1.243 ◆
--client-idNo description from anybody. 2.1.138 – 2.1.243 ◆
--client-labelThe runner command accepts --client-label <name>, listed in its help output. never mined ○ ◆
--client-secretNo description from anybody. 2.1.138 – 2.1.243 ◆
--cloudWith a task description, create a new [web session](/docs/en/claude-code-on-the-web) on claude.ai. With a session ID (session_... or cse_...) or a claude.ai/code URL, queue a message into that existing session instead, with -p. See [send a follow-up message](/docs/en/claude-code-on-the-web#send-follow-ups-from-the-cli). never mined ○
--commentThe /review hint now spells out that you can pass a PR number, branch or path. never mined ○ ◆
--configNo description from anybody. 2.1.147 – 2.1.243 ◆
--configure-git--configure-git sets a commit identity and installs SSH commit signing backed by a code-sign subcommand. never mined ○ ◆
--confine-repo-settingsThe runner can warn about or block repo-committed settings that grant access outside the workspace. never mined ○ ◆
--consoleNo description from anybody. 2.1.138 – 2.1.243 ◆
--continueLoad the most recent conversation in the current directory, skipping [background sessions, sessions created with claude -p or the Agent SDK, and sessions whose first prompt was /loop](/docs/en/sessions#resume-a-session). claude -p --continue includes -p, SDK, and /loop sessions. Includes sessions that added this directory with /add-dir 2.1.138 – 2.1.243
--correlation-idStart a cloud session on your own environment with claude --environment, plus hidden --ref and --on-branch companions. never mined ○ ◆
--cwdNo description from anybody. 2.1.141 – 2.1.243 ◆
--dangerously-skip-permissionsSkip permission prompts. Equivalent to --permission-mode bypassPermissions. See [permission modes](/docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode) for what this does and does not skip. For sessions started with --bg, the mode [persists when the supervisor restarts the session](/docs/en/agent-view#permission-mode-model-and-effort) 2.1.138 – 2.1.243
--debugEnable debug mode with optional category filtering, such as --debug='mcp,startup' or --debug='!1p'. The filter binds only in the = form; a space-separated filter enables debug mode without filtering 2.1.138 – 2.1.243
--debug-fileWrite debug logs to a specific file path. Implicitly enables debug mode. Takes precedence over CLAUDE_CODE_DEBUG_LOGS_DIR 2.1.138 – 2.1.243
--debug-to-stderrDebug logging now runs through one logger that keeps queued lines when it restarts. never mined ○ ◆
--defer-shutdown-max-minSelf-hosted runners can keep serving attached sessions on the first shutdown signal instead of draining. never mined ○ ◆
--descriptionNo description from anybody. 2.1.157 – 2.1.243 ◆
--disable-slash-commandsDisable all skills and commands for this session 2.1.138 – 2.1.243
--disabledPlugin listing now offers --enabled and --disabled filters in tab completion. never mined ○ ◆
--disallowedNo description from anybody. 2.1.138 – 2.1.243 ◆
--disallowed-toolsDeny rules. A bare tool name removes the matching tools from Claude's context: "Edit" removes Edit, "" removes every tool, and "mcp__" removes every MCP tool. A scoped rule such as Bash(rm *) leaves the tool available and denies only matching calls. A rule naming [EndConversation](/docs/en/tools-reference#endconversation-tool-behavior) can't remove it while any other tool remains 2.1.138 – 2.1.243
--disallowedToolsDeny rules. A bare tool name removes the matching tools from Claude's context: "Edit" removes Edit, "" removes every tool, and "mcp__" removes every MCP tool. A scoped rule such as Bash(rm *) leaves the tool available and denies only matching calls. A rule naming [EndConversation](/docs/en/tools-reference#endconversation-tool-behavior) can't remove it while any other tool remains never mined ○
--disk-usageRepos with lots of dead history are no longer squashed or rejected based on pack file size. never mined ○ ◆
--dry-runNo description from anybody. 2.1.138 – 2.1.243 ◆
--effortSet the [effort level](/docs/en/model-config#adjust-effort-level) for the current session. Options: low, medium, high, xhigh, max, or ultracode. Available levels depend on the model. ultracode starts the session at xhigh effort with [ultracode](/docs/en/workflows#let-claude-decide-with-ultracode) turned on, and requires Claude Code v2.1.203 or later. Overrides the [effortLevel](/docs/en/settings-reference#effortlevel) setting for this session and does not persist 2.1.142 – 2.1.243
--emailNo description from anybody. 2.1.138 – 2.1.243 ◆
--enabledPlugin listing now offers --enabled and --disabled filters in tab completion. never mined ○ ◆
--end-of-optionsRepo git hooks stay suppressed by default, tag pushes excepted, and GIT_CONFIG is now cleared. never mined ○ ◆
--envNo description from anybody. 2.1.138 – 2.1.243 ◆
--environmentCreate a new cloud session that runs on the [self-hosted environment](/docs/en/self-hosted-environments) with the given ID. Environment IDs start with ccpool_. See [--environment dispatch behavior](/docs/en/self-hosted-environments-testing#environment-dispatch-behavior) for dispatch behavior and the flag combinations it rejects. Requires Claude Code v2.1.224 or later never mined ○
--environment-secret-fileRunner "pool" flags are renamed to "environment"; old names still work but warn. never mined ○ ◆
--eval-dirEval setup refuses directories with unverifiable ownership or symlinks, and cleans up after a failed setup. 2.1.235 – 2.1.243 ◆
--eval-mock-serverThis is version 2.1.242, and the CLI gained an --eval-mock-server mode taking two arguments. never mined ○ ◆
--expected-spawn-secondsAn orchestrator subcommand polls for capacity hints and runs your own spawn-runner script to autoscale. never mined ○ ◆
--fallback-modelEnable automatic fallback to the specified model(s) when the primary model is overloaded or not available, for example a retired model. Accepts a comma-separated list tried in order. See [Fallback model chains](/docs/en/model-config#fallback-model-chains). To persist a chain across sessions, use the [fallbackModel setting](/docs/en/settings-reference#fallbackmodel), which this flag overrides 2.1.138 – 2.1.243
--fileNo description from anybody. 2.1.138 – 2.1.243 ◆
--fixThe /review hint now spells out that you can pass a PR number, branch or path. never mined ○ ◆
--forceAuto-memory file deletion now rejects every flag except -f or --force, so fewer commands slip through. 2.1.138 – 2.1.243 ◆
--fork-sessionWhen resuming, create a new session ID instead of reusing the original (use with --resume or --continue) 2.1.138 – 2.1.243
--forward-home-settingsThe hidden --no-home-settings flag becomes --forward-home-settings true or false, so you can force it on. never mined ○ ◆
--forward-subagent-textEmit [subagent](/docs/en/sub-agents) text and thinking blocks in the output stream as assistant and user messages with parent_tool_use_id set, so you can reconstruct each subagent's transcript. Without this flag, Claude Code emits only subagent tool_use and tool_result blocks. Requires --print and --output-format stream-json. Claude Code also forwards messages from [nested subagents](/docs/en/sub-agents#let-subagents-spawn-their-own-subagents), setting parent_tool_use_id to the ID of the Agent tool call that spawned each one; this requires Claude Code v2.1.219 or later. The [CLAUDE_CODE_FORWARD_SUBAGENT_TEXT](/docs/en/env-vars) environment variable enables the same behavior. Requires Claude Code v2.1.211 or later 2.1.211 – 2.1.243
--from-prOpen the session picker filtered to sessions linked to a specific pull request. Accepts a PR number, a GitHub or GitHub Enterprise PR URL, a GitLab merge request URL, or a Bitbucket pull request URL. Sessions are linked automatically when Claude creates the pull request 2.1.138 – 2.1.243
--headerdecode-token prints a session token's claims, verifying signature and expiry by default. 2.1.138 – 2.1.243 ◆
--health-portThe setup wizard spawns a detached runner into ./runner-setup and warns it outlives your session. never mined ○ ◆
--hook-concurrencyAn orchestrator subcommand polls for capacity hints and runs your own spawn-runner script to autoscale. never mined ○ ◆
--hook-timeoutAn orchestrator subcommand polls for capacity hints and runs your own spawn-runner script to autoscale. never mined ○ ◆
--hooks-dirThe runner now has Windows errors for hooks and orchestrator mode, but they never fire. never mined ○ ◆
--id-tokenNo description from anybody. 2.1.138 – 2.1.243 ◆
--ideAutomatically connect to IDE on startup if exactly one valid IDE is available 2.1.138 – 2.1.243
--ignore-submodules=noneRepo git hooks stay suppressed by default, tag pushes excepted, and GIT_CONFIG is now cleared. never mined ○ ◆
--include-hook-eventsInclude hook lifecycle events in the output stream. SessionStart and Setup hook events are always included and don't need this flag. Some hook events, such as Notification, SessionEnd, PreCompact, and PostCompact, never produce a hook_started event, even with this flag. For those events, Claude Code still emits hook_progress while a command hook that runs for more than a second produces output, and emits hook_response only when a [hook that runs in the background](/docs/en/hooks#run-hooks-in-the-background) finishes. Requires --output-format stream-json 2.1.138 – 2.1.243
--include-partial-messagesInclude partial streaming events in output. Requires --print and --output-format stream-json 2.1.138 – 2.1.243
--includesAgent worktrees now ignore repo-supplied filter programs, and refuse to build when git config looks risky. never mined ○ ◆
--init-onlyRun [Setup](/docs/en/hooks#setup) and SessionStart hooks, then exit without starting a conversation never mined ○
--interactiveclaude eval --interactive now appears in help; --interview remains a hidden alias. 2.1.138 – 2.1.243 ◆
--interviewclaude eval --interactive now appears in help; --interview remains a hidden alias. never mined ○ ◆
--jsonPlugin eval JSON output is validated before printing, and suppressed with a stderr warning if invalid. 2.1.138 – 2.1.243 ◆
--judge-modelNo description from anybody. 2.1.198 – 2.1.243 ◆
--keep-dataNo description from anybody. 2.1.138 – 2.1.243 ◆
--keep-tempNo description from anybody. 2.1.198 – 2.1.243 ◆
--kill-session-after-minNew flags retire a runner at a set time, release idle sessions, and control drain behaviour. never mined ○ ◆
--labelNo description from anybody. 2.1.208 – 2.1.243 ◆
--max-budget-usdMaximum dollar amount to spend on API calls before stopping (print mode only). Spend from [subagents](/docs/en/sub-agents) counts toward the cap. Once spend reaches the cap, spawning another subagent fails with Budget limit reached, and Claude Code stops background subagents that are still running; the cap-enforcement behaviors require Claude Code v2.1.217 or later never mined ○
--max-cost-usdNo description from anybody. 2.1.198 – 2.1.243 ◆
--mcp-configLoad MCP servers from JSON files or strings (space-separated). When you pass this flag with -p, Claude Code waits for still-pending servers to connect before running the first turn, up to the [MCP_TIMEOUT](/docs/en/env-vars) startup timeout, 30 seconds by default; a server with a [cached tool list](/docs/en/mcp#managing-your-servers) skips the wait and connects on first use. The wait requires Claude Code v2.1.221 or later 2.1.138 – 2.1.243
--mcp-debugNo description from anybody. 2.1.138 – 2.1.191 ○ ◆
--messageNo description from anybody. 2.1.138 – 2.1.243 ◆
--messaging-socket-pathThe messaging socket lives under XDG_RUNTIME_DIR with locked-down permissions and refuses to hijack a live one. never mined ○ ◆
--min-idleAn orchestrator subcommand polls for capacity hints and runs your own spawn-runner script to autoscale. never mined ○ ◆
--mocksPlugin evals can swap a plugin's MCP servers for fakes defined in a mocks folder. 2.1.242 – 2.1.243 ◆
--modelSets the model for the current session with an alias for the latest model (sonnet, opus, haiku, or fable) or a model's full name. Overrides the [model](/docs/en/settings-reference#model) setting and [ANTHROPIC_MODEL](/docs/en/model-config#environment-variables) 2.1.138 – 2.1.243
--nameSet a display name for the session, shown in /resume and the terminal title. You can resume a named session with claude --resume <name>. In an interactive session, if another live session on this machine already uses the name, Claude Code applies [a variant of it](/docs/en/sessions#name-your-sessions) instead. <br /><br />[/rename](/docs/en/commands) changes the name mid-session and also shows it on the prompt bar 2.1.138 – 2.1.243
--no-browserNo description from anybody. 2.1.186 – 2.1.243 ◆
--no-check-expirydecode-token prints a session token's claims, verifying signature and expiry by default. never mined ○ ◆
--no-chromeDisable [Chrome browser integration](/docs/en/chrome) for this session 2.1.138 – 2.1.243
--no-ext-diffDiffs now ignore your repo's custom diff drivers, so Claude sees the real file contents. never mined ○ ◆
--no-home-settingsYou now decide separately whether cloud sessions may use your plugins and your local settings. never mined ○ ◆
--no-postUltra review adds --post and --no-post, so findings go to the PR as a comment from you. 2.1.227 – 2.1.243 ◆
--no-publishPlugin eval now writes report.html and publishes it to claude.ai unless you pass --no-publish. 2.1.224 – 2.1.243 ◆
--no-scaffoldNo description from anybody. 2.1.198 – 2.1.243 ◆
--no-session-persistenceDisable session persistence so sessions are not saved to disk and cannot be resumed. Print mode only. The [CLAUDE_CODE_SKIP_PROMPT_HISTORY](/docs/en/env-vars) environment variable does the same in any mode 2.1.138 – 2.1.243
--no-textconvDiffs now ignore your repo's custom diff drivers, so Claude sees the real file contents. never mined ○ ◆
--no-verifydecode-token prints a session token's claims, verifying signature and expiry by default. never mined ○ ◆
--objectsRepos with lots of dead history are no longer squashed or rejected based on pack file size. never mined ○ ◆
--objects-edge-aggressiveRepos with boundary commits are no longer wrongly rejected as unpackable when uploading. never mined ○ ◆
--on-branchStart a cloud session on your own environment with claude --environment, plus hidden --ref and --on-branch companions. never mined ○ ◆
--output-dirEval results saved inside a plugin now warn they might get loaded as plugin components. 2.1.198 – 2.1.243 ◆
--permission-modeBegin in a specified [permission mode](/docs/en/permission-modes). Accepts default, acceptEdits, plan, auto, dontAsk, bypassPermissions, or manual as an alias for default. The manual alias selects the permission mode the UI labels Manual and requires Claude Code v2.1.200 or later; claude --help lists it in place of default, and both values work. Overrides defaultMode from settings files. Without this flag or --dangerously-skip-permissions, a new session starts in the permission mode described in [which permission mode a session starts in](/docs/en/permission-modes#which-mode-a-session-starts-in). For -p, that's default when nothing is configured 2.1.142 – 2.1.243
--permission-prompt-toolSpecify an MCP tool to handle permission prompts in non-interactive mode. Claude Code waits for that tool's MCP server to connect before running the first turn, up to the [MCP_TIMEOUT](/docs/en/env-vars) startup timeout, 30 seconds by default. <br /><br />The prompt tool can't approve an MCP tool marked as [requiring user interaction](/docs/en/mcp#require-approval-for-a-specific-tool): Claude Code converts an allow result for one to a deny. This restriction requires Claude Code v2.1.199 or later never mined ○
--plugin-dirLoad a plugin from a directory or .zip archive for this session only. Each flag takes one path. Repeat the flag for multiple plugins: --plugin-dir A --plugin-dir B.zip 2.1.138 – 2.1.243
--plugin-urlFetch a plugin .zip archive from a URL for this session only. Repeat the flag for multiple plugins, or pass space-separated URLs in a single quoted value 2.1.138 – 2.1.243
--poolStart a cloud session on your own environment with claude --environment, plus hidden --ref and --on-branch companions. never mined ○ ◆
--pool-secret-fileRunner "pool" flags are renamed to "environment"; old names still work but warn. never mined ○ ◆
--postUltra review adds --post and --no-post, so findings go to the PR as a comment from you. 2.1.227 – 2.1.243 ◆
--printPrint response without interactive mode (see [Agent SDK documentation](/docs/en/agent-sdk/overview) for programmatic usage details) 2.1.138 – 2.1.243
--projectCloud session creation can use a newer request shape for review and plan sources. never mined ○ ◆
--proxy-authorization-commandThe self-hosted runner can generate a fresh proxy auth token for every outbound connection. never mined ○ ◆
--proxy-authorization-fileThe self-hosted runner can generate a fresh proxy auth token for every outbound connection. never mined ○ ◆
--pruneNo description from anybody. 2.1.138 – 2.1.243 ◆
--publish-reportPlugin eval now writes report.html and publishes it to claude.ai unless you pass --no-publish. 2.1.210 – 2.1.243 ◆
--pushNo description from anybody. 2.1.138 – 2.1.243 ◆
--refWith --environment, base the new session's checkout on a named ref instead of local HEAD never mined ○
--release-idle-session-minNew flags retire a runner at a set time, release idle sessions, and control drain behaviour. never mined ○ ◆
--remoteDeprecated alias for --cloud, including the existing-session form 2.1.138 – 2.1.243
--remote-controlStart an interactive session with [Remote Control](/docs/en/remote-control#start-a-remote-control-session) enabled so you can also control it from claude.ai or the Claude app. Optionally pass a name for the session never mined ○
--remote-control-session-name-prefixPrefix for auto-generated [Remote Control](/docs/en/remote-control) session names when no explicit name is set. Defaults to your machine's hostname, producing names like myhost-graceful-unicorn. Set CLAUDE_REMOTE_CONTROL_SESSION_NAME_PREFIX for the same effect 2.1.138 – 2.1.243
--replay-user-messagesRe-emit user messages from stdin back on stdout for acknowledgment. Requires --input-format stream-json and --output-format stream-json 2.1.138 – 2.1.243
--reportPlugin eval now writes report.html and publishes it to claude.ai unless you pass --no-publish. 2.1.210 – 2.1.243 ◆
--restrictedStart in restricted mode. Use it when an evaluation harness drives claude on a shared machine and Claude Code must not run commands or read that machine's user and project settings. Claude Code removes the built-in tools that run commands or code, and WebFetch, unless you name them individually in --tools, not through its default preset. It also confines the built-in file tools to the [working directories](/docs/en/permissions#working-directories), loads only [managed settings](/docs/en/managed-settings) and --settings, and refuses [bypassPermissions](/docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode). Requires Claude Code v2.1.248 or later never mined ○
--resumeResume a specific session by ID or name, or show an interactive picker to choose a session. The picker and name search include sessions that added this directory with /add-dir. When you pass a session ID, Claude Code searches the current project directory and its git worktrees, then every other project on this machine. Before v2.1.223, the ID search covered only the current project directory and its git worktrees. [Background sessions](/docs/en/agent-view) appear in the picker marked with bg 2.1.138 – 2.1.243
--resume-drops-turnA hidden flag lets you declare which turn a truncating resume is meant to discard. never mined ○ ◆
--resume-session-atA hidden flag lets you declare which turn a truncating resume is meant to discard. never mined ○ ◆
--retire-atNew flags retire a runner at a set time, release idle sessions, and control drain behaviour. never mined ○ ◆
--revsCloud sync sizes up your repo first and always tells you why it declined; bundle upload is server-gated. never mined ○ ◆
--runsNo description from anybody. 2.1.198 – 2.1.243 ◆
--safe-modeStart with all customizations disabled to troubleshoot a broken configuration: CLAUDE.md, skills, plugins, hooks, MCP servers, custom commands and agents, output styles, workflows, custom themes, custom keybindings, status line and file-suggestion commands, LSP servers, and auto memory do not load. Authentication, model selection, built-in tools, and permissions work normally, which differs from [--bare](/docs/en/headless#start-faster-with-bare-mode). Managed settings policy still applies, including policy-configured hooks, status line, and file-suggestion commands; managed plugins, managed skills, managed CLAUDE.md, and policy-configured MCP servers do not. Useful for checking whether a customization is what triggers [automatic model fallback](/docs/en/model-config#automatic-model-fallback). Sets [CLAUDE_CODE_SAFE_MODE](/docs/en/env-vars) 2.1.169 – 2.1.243
--scaffoldNo description from anybody. 2.1.198 – 2.1.243 ◆
--scm-connector-ca-filePass --scm-connector-host to tunnel Anthropic requests into a GitHub Enterprise server only your network can reach. never mined ○ ◆
--scm-connector-hostPass --scm-connector-host to tunnel Anthropic requests into a GitHub Enterprise server only your network can reach. never mined ○ ◆
--scm-connector-host-rewritePass --scm-connector-host to tunnel Anthropic requests into a GitHub Enterprise server only your network can reach. never mined ○ ◆
--scm-connector-idPass --scm-connector-host to tunnel Anthropic requests into a GitHub Enterprise server only your network can reach. never mined ○ ◆
--scm-connector-providerPass --scm-connector-host to tunnel Anthropic requests into a GitHub Enterprise server only your network can reach. never mined ○ ◆
--scopeNo description from anybody. 2.1.138 – 2.1.243 ◆
--sdk-urlStartup stats now note the input format, whether --sdk-url was passed, and an experiment flag. never mined ○ ◆
--session-idUse a specific session ID for the conversation (must be a valid UUID) 2.1.138 – 2.1.243
--setting-sourcesComma-separated list of setting sources to load (user, project, local) 2.1.138 – 2.1.243
--settingsPath to a settings JSON file or an inline JSON string. Values you set here override the same keys in your settings.json files for this session. Keys you omit keep their file-based values. The file must be a regular file no larger than 2 MiB. See [settings precedence](/docs/en/settings#settings-precedence) 2.1.138 – 2.1.243
--sparseNo description from anybody. 2.1.138 – 2.1.243 ◆
--ssoNo description from anybody. 2.1.138 – 2.1.243 ◆
--startup-timeout-minNew flags retire a runner at a set time, release idle sessions, and control drain behaviour. never mined ○ ◆
--strictNo description from anybody. 2.1.145 – 2.1.243 ◆
--strict-mcp-configOnly use MCP servers from --mcp-config, ignoring all other MCP configurations. See [Exclusive control with managed-mcp.json](/docs/en/managed-mcp#exclusive-control-with-managed-mcp-json) for what the flag does under a managed MCP file 2.1.138 – 2.1.243
--system-promptReplace the entire system prompt with custom text never mined ○
--tagNo description from anybody. 2.1.198 – 2.1.243 ◆
--teleportResume a [web session](/docs/en/claude-code-on-the-web) in your local terminal never mined ○
--textNo description from anybody. 2.1.138 – 2.1.243 ◆
--thinCloud sync sizes up your repo first and always tells you why it declined; bundle upload is server-gated. never mined ○ ◆
--thinking-displayA schema description was reworded to explain that clearing the thinking display setting restores Claude Code's own default. never mined ○ ◆
--thresholdNo description from anybody. 2.1.198 – 2.1.243 ◆
--timeoutNo description from anybody. 2.1.138 – 2.1.243 ◆
--titleThe whiteboard skill gained opening sketches, named boards and clearer send-permission errors, but stays switched off. never mined ○ ◆
--tmuxCreate a tmux session for the worktree. Requires --worktree. Uses iTerm2 native panes when available; pass --tmux=classic for traditional tmux 2.1.138 – 2.1.243
--token-fileHosted cloud sessions can spawn a separate health-reporting helper, which never resolves on a normal install. never mined ○ ◆
--toolsRestrict which built-in tools Claude can use. Use "" to disable all, "default" for all, or tool names like "Bash,Edit,Read". If you name one of the [task-tracking tools](/docs/en/tools-reference#task-tool-availability) here, Claude Code also opts the session in. The flag doesn't affect MCP tools; to deny those too, use --disallowedTools "mcp__*". A list that omits [EndConversation](/docs/en/tools-reference#endconversation-tool-behavior) doesn't remove it; "" removes it only when no MCP tools remain 2.1.138 – 2.1.243
--transportNo description from anybody. 2.1.138 – 2.1.243 ◆
--use-anthropic-git-proxy--configure-git sets a commit identity and installs SSH commit signing backed by a code-sign subcommand. never mined ○ ◆
--verboseEnable verbose logging, shows full turn-by-turn output. Overrides the [viewMode](/docs/en/settings-reference#viewmode) setting for this session 2.1.138 – 2.1.243
--versionOutput the version number never mined ○
--watch-artifactYour deny and ask rules now apply to artifacts pulled automatically by a watching session. never mined ○ ◆
--watch-artifact-no-autoreactA hidden flag lets a session watch an artifact for new versions and comments, with an option to disarm auto-reply. never mined ○ ◆
--withNo description from anybody. 2.1.157 – 2.1.243 ◆
--worktreeStart Claude in an isolated [git worktree](/docs/en/worktrees) at <repo>/.claude/worktrees/<name>. If you don't give a name, Claude Code generates one. Pass #<number>, a GitHub pull request URL, or a GitLab merge request URL to [fetch that PR or MR from origin and branch the worktree from it](/docs/en/worktrees#branch-from-a-pull-request). Branching from a GitLab merge request requires Claude Code v2.1.233 or later 2.1.138 – 2.1.243
--write-treeA git sync engine keeps a cloud container's checkout in step with yours, off unless an env var is set. never mined ○ ◆
--yesThe import command exists but just prints a message instead of starting a session here. 2.1.138 – 2.1.243 ◆
-cLoad the most recent conversation in the current directory, skipping [background sessions, sessions created with claude -p or the Agent SDK, and sessions whose first prompt was /loop](/docs/en/sessions#resume-a-session). claude -p --continue includes -p, SDK, and /loop sessions. Includes sessions that added this directory with /add-dir never mined ○
-fAuto-memory file deletion now rejects every flag except -f or --force, so fewer commands slip through. never mined ○ ◆
-nSet a display name for the session, shown in /resume and the terminal title. You can resume a named session with claude --resume <name>. In an interactive session, if another live session on this machine already uses the name, Claude Code applies [a variant of it](/docs/en/sessions#name-your-sessions) instead. <br /><br />[/rename](/docs/en/commands) changes the name mid-session and also shows it on the prompt bar never mined ○
-pPrint response without interactive mode (see [Agent SDK documentation](/docs/en/agent-sdk/overview) for programmatic usage details) never mined ○
-yPlugin install and update take -y to skip the command confirmation, but not inside a session. never mined ○ ◆
agentsThe agents fleet view marks its session restricted at startup. never mined ○ ◆
attachAttaching to a background session now times how long it takes to paint and reach an idle prompt. never mined ○ ◆
doctorclaude doctor now lists each sandbox credential-masking problem separately with a specific fix. never mined ○ ◆
gatewayRunning claude gateway now reports gateway as the provider regardless of credentials. never mined ○ ◆
importThe import command exists but just prints a message instead of starting a session here. never mined ○ ◆
installThe startup nag telling npm installers to switch to the native version is gone. never mined ○ ◆
loginRunner management tools now require claude login on Anthropic's API; API keys are rejected. never mined ○ ◆
logsReplaying job output with claude logs can no longer garble your terminal. never mined ○ ◆
mcp getFailed MCP connections now tell you why, with the error detail shown in list and get output. never mined ○ ◆
mcp listclaude mcp list now tells you why a server failed, like a timeout or HTTP error, not just "Failed to connect". never mined ○ ◆
pluginFailed plugin commands now flush their analytics before exiting instead of dropping the event. never mined ○ ◆
plugin disablePlugin commands now explain refusals for built-ins and org-locked plugins instead of acting oddly. never mined ○ ◆
plugin enablePlugin subcommand descriptions come from the shared table that also hides early-access entries. never mined ○ ◆
plugin evalPlugin eval now writes report.html and publishes it to claude.ai unless you pass --no-publish. never mined ○ ◆
plugin eval initPoint plugin eval at any case directory with --eval-dir, still behind an early-access gate or env var. never mined ○ ◆
plugin installPlugin install and update take -y to skip the command confirmation, but not inside a session. never mined ○ ◆
plugin listclaude plugin list now groups plugins by scope, including a "Synced from claude.ai" section. never mined ○ ◆
plugin uninstallPlugin commands now explain refusals for built-ins and org-locked plugins instead of acting oddly. never mined ○ ◆
plugin updatePlugins that build via a command won't silently run it; you get an error telling you to update. never mined ○ ◆
plugin validateclaude plugin validate now falls back to checking skills, agents and commands when there is no manifest. never mined ○ ◆
remote-controlclaude remote-control now errors clearly on root-level options instead of forwarding them. never mined ○ ◆
respawnReopening a cleaned-up background session now points you at claude rm and claude respawn. never mined ○ ◆
rmWhen claude rm is blocked, it names the session holding the directory and how to stop it. never mined ○ ◆
self-hosted-runnerA whole new claude self-hosted-runner command tree is available to anyone who types it. never mined ○ ◆
setup-tokenclaude setup-token now errors on extra arguments instead of ignoring them. never mined ○ ◆
stopWhen claude rm is blocked, it names the session holding the directory and how to stop it. never mined ○ ◆
updateVersion strings in update messages, doctor output and daemon logs were re-stamped to 2.1.220. never mined ○ ◆
Nothing matches that.