Search the documentation
20 pages for --permission-mode.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…n/cli-reference#cli-flags) * the view was opened with a flag such as `--permission-mode` or `--settings` Completed sessions that don't fit on screen fold into a `… N more` row. Failures and sessions…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…status bar shows `⏸ plan mode on`, or start the session with `claude --permission-mode plan`. Claude reads files and answers questions without making changes. ```txt title="claude (plan mode)" w…
Claude Code changelog
Claude Code CLI · in the page
changelog
…n mode to "Manual" across the CLI, `--help`, VS Code, and JetBrains; `--permission-mode manual` and `"defaultMode": "manual"` are accepted alongside `default` * Fixed a crash at startup when `disabl…
Use Claude Code on the web
Claude Code CLI · in the page
claude-code-on-the-web
…e approach, then send work to the cloud: ```bash theme={null} claude --permission-mode plan ``` In plan mode, Claude reads files, runs commands to explore, and proposes a plan without editing source…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…ttings#exceptions-to-managed-settings-precedence) * CLI flags like `--permission-mode` or `--settings` override `settings.json` for that session * Some environment variables take precedence over t…
CLI reference
Claude Code CLI · in the page
cli-reference
…g (`--json --all` also includes completed background sessions). Pass `--permission-mode`, `--model`, `--effort`, or `--agent` to set [defaults for dispatched sessions](/docs/en/agent-view#permission-m…
Common workflows
Claude Code CLI · in the page
common-workflows
…plan mode on` while plan mode is active. ```bash theme={null} claude --permission-mode plan ``` You can also press `Shift+Tab` mid-session until the status bar shows `⏸ plan mode on`. See [Plan mode…
Desktop application
Claude Code CLI · in the page
desktop
…| | `--permission-mode` | Mode selector next to the send button…
Claude Code GitLab CI/CD
Claude Code CLI · in the page
gitlab-ci-cd
…W_INPUT:-'Review this MR and implement the requested changes'}" --permission-mode acceptEdits --allowedTools "Bash Read Edit Write mcp__gitlab" --debug ``` After adding the job and…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…very plan, so pass the permission mode you want: * **`auto`**: pass `--permission-mode auto` to have a classifier review most actions instead of you * **`dontAsk`**: Claude Code denies anything not i…
Hooks reference
Claude Code CLI · in the page
hooks
…in the permission mode a new `claude -p` run would start in, so pass `--permission-mode` or `--dangerously-skip-permissions` again if the deferred session used one. When you resume with `claude --resu…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…ith bypass mode already available: `--dangerously-skip-permissions`, `--permission-mode bypassPermissions`, `--allow-dangerously-skip-permissions`, or `permissions.defaultMode: "bypassPermissions"` in…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…`manual` as an alias wherever you type the value, for example `claude --permission-mode manual` or `"defaultMode": "manual"`. The Manual label and the `manual` alias require Claude Code v2.1.200 or la…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…lags before invoking the wrapper, and for single-value flags such as `--permission-mode` the parser honors the last occurrence, so a flag you append after `"$@"` overrides the server-sent value: ```b…
Manage sessions
Claude Code CLI · in the page
sessions
…s the session picker, `/resume`, and resuming with `claude -p`. Pass `--permission-mode` or `--dangerously-skip-permissions` to override the restored mode. * Active goal: a [goal](/docs/en/goal#resume…
Claude Code settings
Claude Code CLI · in the page
settings
…cs/en/permission-modes#which-mode-a-session-starts-in), whether from `--permission-mode auto`, a settings file, or the built-in default, starts in `default` instead. Also accepted under `permissions`…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…cs/en/permission-modes#which-mode-a-session-starts-in), whether from `--permission-mode auto`, a settings file, or the built-in default, starts in `default` instead. Administrators set it in managed s…
Week 20 · May 11–15, 2026
Claude Code CLI · in the page
whats-new/2026-w20
…s</code>, <code>--mcp-config</code>, <code>--plugin-dir</code>, <code>--permission-mode</code>, <code>--model</code>, <code>--effort</code>, <code>--dangerously-skip-permissions</code>) to configure b…
Week 23 · June 1–5, 2026
Claude Code CLI · in the page
whats-new/2026-w23
…re writing these files:</p> ```bash terminal theme={null} claude --permission-mode acceptEdits ``` <a className="digest-feature-link" href="/docs/docs/en/permission-modes#protected-paths">Pr…
Week 27 · June 29 – July 3, 2026
Claude Code CLI · in the page
whats-new/2026-w27
…now named "Manual" across the CLI, `--help`, VS Code, and JetBrains; `--permission-mode manual` is accepted alongside `default`</div> <div>New <code>/dataviz</code> skill gives chart and dashboard…