Search the documentation
27 pages for --all.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
On a remote host without a browser:
Claude Developer Platform · in the page
cli-sdks-libraries/cli/authentication
…remove stored credentials, run `ant auth logout`, or `ant auth logout --all` to clear every profile. ## Admin access By default, `ant auth login` requests a workspace-scoped token. To manage the res…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…* `--settings` * `--add-dir` * `--plugin-dir` * `--fallback-model` * `--allow-dangerously-skip-permissions` Directories you added during the session with [`/add-dir`](/docs/en/permissions#additional-…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…files <Tip> Loop through tasks calling `claude -p` for each. Use `--allowedTools` to scope permissions for batch operations. </Tip> For large migrations or analyses, you can distribute work acros…
Claude Code changelog
Claude Code CLI · in the page
changelog
…w/deny rules, model or effort flags * Fixed `/tui` dropping launch `--allowed-tools`/`--disallowed-tools` rules when it restarts; it now declines to switch, with the reason, when the session has res…
Deploy Claude apps gateway on AWS
Claude Code CLI · in the page
claude-apps-gateway-on-aws
…ersion "$PG_VERSION" \ --db-instance-class db.t4g.micro \ --allocated-storage 20 --db-name claude_gateway \ --master-username gateway --master-user-password "$PGPASS" \ --db-su…
Deploy Claude apps gateway on Google Cloud
Claude Code CLI · in the page
claude-apps-gateway-on-gcp
…nding to manage, and works under Domain Restricted Sharing * `--allow-unauthenticated`: grants `allUsers` the `run.invoker` role; use it if your organization doesn't allow `--no-invoker-iam-ch…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…ash theme={null} claude project purge ~/work/my-repo --yes ``` Pass `--all` instead of a path to purge state for every project at once, which deletes `history.jsonl` outright rather than filtering it…
CLI reference
Claude Code CLI · in the page
cli-reference
…json` to print active sessions as a JSON array for scripting (`--json --all` also includes completed background sessions). Pass `--permission-mode`, `--model`, `--effort`, or `--agent` to set [default…
Desktop application
Claude Code CLI · in the page
desktop
…| | `--allowedTools`, `--disallowedTools` | No per-session equivalent. Permission rules in [settings files](/docs/en/settings) still ap…
Error reference
Claude Code CLI · in the page
errors
…aller added ask rules alongside the rules Claude Code passes back as `--allowed-tools` and `--disallowed-tools`. No flag exists for ask rules * `permission rules a command line cannot carry intact` an…
Fullscreen rendering
Claude Code CLI · in the page
fullscreen
…](/docs/en/model-config#setting-your-model) * Rules you passed with [`--allowed-tools` or `--disallowed-tools`](/docs/en/cli-reference#cli-flags), and your `--agent`, `--agents`, and `--append-system-…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…pull/${{ github.event.pull_request.number }}" claude_args: '--allowedTools "mcp__github_inline_comment__create_inline_comment"' ``` Two lines in this workflow control where the review goes:…
Claude Code GitLab CI/CD
Claude Code CLI · in the page
gitlab-ci-cd
…nt the requested changes'}" --permission-mode acceptEdits --allowedTools "Bash Read Edit Write mcp__gitlab" --debug ``` After adding the job and your `ANTHROPIC_API_KEY` variable, t…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…ed: ```bash theme={null} claude -p "Find and fix the bug in auth.py" --allowedTools "Read,Edit,Bash" ``` This page covers using the Agent SDK via the CLI (`claude -p`). For the Python and TypeScript…
Hooks reference
Claude Code CLI · in the page
hooks
…angerously-skip-permissions`, `--permission-mode bypassPermissions`, `--allow-dangerously-skip-permissions`, or `permissions.defaultMode: "bypassPermissions"` in settings, and the mode is not disabled…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…angerously-skip-permissions`, `--permission-mode bypassPermissions`, `--allow-dangerously-skip-permissions`, or `permissions.defaultMode: "bypassPermissions"` in settings, and not disabled by [`permis…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…ignore permission rules from user, project, and local files and from `--allowedTools`: ```json managed-settings.json theme={null} { "permissions": { "deny": [ "Read(./…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…ny rules in the user's personal settings, enterprise managed policy, `--allowedTools` or `--disallowedTools` flags, the active permission mode, a session-scoped grant from an earlier prompt in the sam…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…| `claude -p "run the test suite" --permission-mode dontAsk --allowedTools "Bash(npm test)" "Read"` | None beyond what your…
Configure permissions
Claude Code CLI · in the page
permissions
…tched-by-file-permission-checks), except for a `Glob` rule passed in `--allowedTools`. Use `Edit(docs/**)` in place of `Write(docs/**)`, `NotebookEdit(docs/**)`, or `MultiEdit(docs/**)`, and `Read(doc…
Plugins reference
Claude Code CLI · in the page
plugins-reference
…: Plugin name or `plugin-name@marketplace-name`. Optional when using `--all` **Options:** | Option | Description…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…mission-mode auto ``` To pre-approve specific tools instead, append `--allowed-tools` with your rules, for example `--allowed-tools "Bash(bazel *) Bash(yarn *) mcp__internal__*"`. List flags such as…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…nores rules in user, project, local, and `--settings` files, ignores `--allowedTools`, hides the always-allow choices in permission prompts, and stops saving new rules. When [parent settings from an e…
Tools reference
Claude Code CLI · in the page
tools-reference
…issions-deny) in settings, and the `/permissions` interface * in the `--allowedTools` and `--disallowedTools` [CLI flags](/docs/en/cli-reference) * in the Agent SDK's [`allowedTools` and `disallowedTo…
Week 18 · April 27 – May 1, 2026
Claude Code CLI · in the page
whats-new/2026-w18
…y`/`--yes` to skip confirmation, `-i`/`--interactive` to choose, and `--all` to clear every project.</p> <p className="digest-feature-try">Preview what would be removed:</p> ```bash theme={null}…
Week 24 · June 8–12, 2026
Claude Code CLI · in the page
whats-new/2026-w24
…e>language</code> setting</div> <div>`claude agents --json` adds `--all` to include completed sessions plus new <code>id</code> and <code>state</code> fields, and no longer omits blocked or newly…
Command line settings
Claude Documentation · in the page
claude-science/command-line-settings
…| | `--allow-origin` `<url>` | unset | An extra browser Origin allowed to connect; repeat the flag for more than one. It does not…