Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

394 pages for commands.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …laude Code doesn't archive them. To bring them back, run one of these commands in the same directory: * **`claude remote-control`**: brings back every session the server was serving. * **`claude remo… Automate work with scheduled tasks Claude Code CLI · in the page routines …tonomously as full Claude Code cloud sessions. The session runs shell commands, uses [skills](https://code.claude.com/docs/en/skills.md), and calls any connectors you include. Outside a [project](http… Choose a sandbox environment Claude Code CLI · in the page sandbox-environments …Bash tool](#sandboxed-bash-tool) | Bash, PowerShell, and Monitor tool commands and their child processes | No | Minimal on macOS; low on Linux and WSL2 | | [Sandbox runtime](#sandbox-runtime) | The wh… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …Bash tool > Restrict the files and network hosts Claude Code's shell commands can reach with the built-in sandbox. Turn it on, set the boundary, and fix what it breaks. The Bash sandbox is a boundar… Run prompts on a schedule Claude Code CLI · in the page scheduled-tasks …th /loop The `/loop` [bundled skill](https://code.claude.com/docs/en/commands.md) is the quickest way to run a prompt on repeat while the session stays open. Both the interval and the prompt are opti… Security Claude Code CLI · in the page security …-only permissions. When it needs to edit files, run tests, or execute commands, it asks you first, and you choose whether to approve the action once or allow it from then on. It runs a built-in set of… Catch security issues as Claude writes code Claude Code CLI · in the page security-guidance …ree during the turn, including changes from Claude's edit tools, Bash commands, and subagents, and sends it to a separate Claude review focused on security. The review runs in the background, so Claud… Self-hosted environments Claude Code CLI · in the page self-hosted-environments …om`, and makes its own outbound calls for model inference and for git commands run during the session. In a session that uses [Anthropic-managed git](https://code.claude.com/docs/en/self-hosted-enviro… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …command` hook](#command), and in what the session runs, such as shell commands, git hooks, and Claude Code hooks. The `checkout`, `post-session`, and `spawn-runner` hooks don't receive them. ### Give… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …ons reach the limit, the kernel refuses new processes and threads, so commands, builds, and tests in any of them can fail. The refused call returns `EAGAIN`, whose standard message is `Resource tempor… Self-hosted environments quickstart Claude Code CLI · in the page self-hosted-environments-quickstart …> (EACCES: permission denied, open '<path>')`. In that case, run both commands as the runner's user with a directory that user can write to in place of `/etc/claude`, and pass the same path to `--envi… Configure server-managed settings Claude Code CLI · in the page server-managed-settings ….sh" } ] } ] } } ``` Because hooks execute shell commands, users in interactive sessions see a [security approval dialog](#security-approval-dialogs) before Claude Code applies th… Manage sessions Claude Code CLI · in the page sessions …fail. Moving a session with [`/cd`](https://code.claude.com/docs/en/commands) relocates it to the new directory's project storage, so it appears in that directory's picker afterward. #### Resume by… Claude Code settings Claude Code CLI · in the page settings …able the rest of your organization's policy. Run [`/doctor`](/docs/en/commands#all-commands) to list stripped entries with their source file and field. This behavior is consistent across all three de… Example settings files Claude Code CLI · in the page settings-example …bash-rule-limits). `Read(./.env)` on its own stops the file tools and commands that name the file, such as `cat .env`, but not [`grep -r` run over the directory](https://code.claude.com/docs/en/permis… All settings Claude Code CLI · in the page settings-reference …](#copyfullresponse) | Make [`/copy`](https://code.claude.com/docs/en/commands) copy the full response without showing the picker | Global config settings | Global config | | [`copyOnSelect`](#copyons… Advanced setup Claude Code CLI · in the page setup …any terminal. * **Without Git for Windows**, Claude Code runs shell commands via the [PowerShell tool](https://code.claude.com/docs/en/tools-reference.md#powershell-tool). * **With Git for Windows**… Extend Claude with skills Claude Code CLI · in the page skills …kills to extend Claude's capabilities in Claude Code. Includes custom commands and bundled skills. Skills extend what Claude can do. Create a `SKILL.md` file with instructions, and Claude adds it to… Customize your status line Claude Code CLI · in the page statusline …``` The `command` field runs in a shell, so you can also use inline commands instead of a script file. This example uses `jq` to parse the JSON input and display the model name and context percentag… Create custom subagents Claude Code CLI · in the page sub-agents …, as described above. The [`/doctor`](https://code.claude.com/docs/en/commands#all-commands) setup checkup reports files in the same directory that share a name and proposes renaming or removing all b… Configure your terminal for Claude Code Claude Code CLI · in the page terminal-config …ys a system sound on macOS. The linked guide has desktop notification commands for macOS, Linux, and Windows. ```json ~/.claude/settings.json theme={null} { "hooks": { "Notification": [ {… Tools reference Claude Code CLI · in the page tools-reference …ectories). `Bash` is marked Yes but runs a built-in set of [read-only commands](https://code.claude.com/docs/en/permissions.md#read-only-commands) without prompting. | Tool | Description | Permission… Troubleshoot installation and login Claude Code CLI · in the page troubleshoot-install …permanent, so you apply it once. Pick your platform's tab and run its commands there: in your terminal on macOS and Linux, or in PowerShell or Command Prompt on Windows. > [tab] macOS/Linux > > Check… Troubleshooting Claude Code CLI · in the page troubleshooting ….md) | | Session started in auto mode, or Claude edits files and runs commands without asking | [Which mode a session starts in](https://code.claude.com/docs/en/permission-modes.md#which-mode-a-sessio… Find bugs with ultrareview Claude Code CLI · in the page ultrareview …ckground task, so you can keep working in your session or start other commands. If you chose to [post the findings to the pull request](#post-findings-to-the-pull-request), keep the session open until… Voice dictation Claude Code CLI · in the page voice-dictation …ve-mode.md): keyboard shortcuts, input modes, and session controls * [Commands](https://code.claude.com/docs/en/commands.md): reference for `/voice`, `/config`, and all other commands Use Claude Code in VS Code Claude Code CLI · in the page vs-code …* **Manual**: Claude asks permission before file edits and most shell commands. * **Plan**: Claude describes what it will do and waits for approval before making changes. VS Code automatically opens… Get started with Claude Code in the cloud Claude Code CLI · in the page web-quickstart …your shell, then run `/web-setup` again. ### `/web-setup` shows "No commands match" or "Unknown command" `/web-setup` runs inside the Claude Code CLI, not your shell. Launch `claude` first, then ty… Week 13 · March 23–27, 2026 Claude Code CLI · in the page whats-new/2026-w13 …to mode hands your permission prompts to a classifier. Safe edits and commands run without interrupting you; anything destructive or suspicious gets blocked and surfaced. It's the middle ground betwee… Week 14 · March 30 – April 3, 2026 Claude Code CLI · in the page whats-new/2026-w14 …Run it: ```text title="Claude Code" wrap theme={null} /powerup ``` [Commands reference](https://code.claude.com/docs/en/commands.md) Flicker-free rendering v2.1.89 Opt into a new alt-screen render… Week 15 · April 6–10, 2026 Claude Code CLI · in the page whats-new/2026-w15 …```text title="Claude Code" wrap theme={null} /team-onboarding ``` [Commands reference](https://code.claude.com/docs/en/commands.md) Other wins Focus view: press `Ctrl+O` in flicker-free mode to c… Week 16 · April 13–17, 2026 Claude Code CLI · in the page whats-new/2026-w16 …6) Run it any time: ```text Claude Code theme={null} > /usage ``` [Commands reference](https://code.claude.com/docs/en/commands.md) Mobile push notifications mobile With [Remote Control](https://… Week 17 · April 20–24, 2026 Claude Code CLI · in the page whats-new/2026-w17 …d `/stats` are merged into [`/usage`](https://code.claude.com/docs/en/commands); the old names still work as typing shortcuts that open the relevant tab`/config` changes (theme, editor mode, verbose,… Week 18 · April 27 – May 1, 2026 Claude Code CLI · in the page whats-new/2026-w18 …[CLI reference](https://code.claude.com/docs/en/cli-reference.md#cli-commands) claude project purge v2.1.124 Delete all Claude Code state for a project: transcripts, tasks, file history, and the pr… Week 19 · May 4–8, 2026 Claude Code CLI · in the page whats-new/2026-w19 …ut field and the `$CLAUDE_EFFORT` environment variable, and Bash tool commands can read `$CLAUDE_EFFORT``CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1` opts out of the fullscreen alternate-screen renderer an… Week 20 · May 11–15, 2026 Claude Code CLI · in the page whats-new/2026-w20 …ng hooks, and plugin configs can reference `${CLAUDE_PROJECT_DIR}` in commands`claude plugin details <name>` shows a plugin's component inventory and projected per-session token cost, and the `/plugin… Week 21 · May 18–22, 2026 Claude Code CLI · in the page whats-new/2026-w21 …ted context cost, and the Discover and Browse screens list a plugin's commands, agents, skills, hooks, and MCP/LSP servers before installationNew `worktree.bgIsolation: "none"` setting lets background… Week 22 · May 25–29, 2026 Claude Code CLI · in the page whats-new/2026-w22 …` to make skills they install available in the same sessionSkills and commands can set `disallowed-tools` in frontmatter to remove tools from the model while the skill is activeNew `MessageDisplay` ho… Week 23 · June 1–5, 2026 Claude Code CLI · in the page whats-new/2026-w23 …``text Claude Code theme={null} > /plugin list --enabled ``` [Plugin commands](https://code.claude.com/docs/en/plugins/cli-reference.md#plugin-list) Version requirements for managed deployments v2.1… Week 24 · June 8–12, 2026 Claude Code CLI · in the page whats-new/2026-w24 …rting: ```text Claude Code theme={null} > /cd ../other-project ``` [Commands reference](https://code.claude.com/docs/en/commands.md#all-commands) Subagents can spawn subagents v2.1.172 Subagents c… Week 25 · June 15–19, 2026 Claude Code CLI · in the page whats-new/2026-w25 …xt title="Claude Code" wrap theme={null} /config thinking=false ``` [Commands reference](https://code.claude.com/docs/en/commands.md#all-commands) Other wins Auto mode now blocks destructive git co… Week 26 · June 22–26, 2026 Claude Code CLI · in the page whats-new/2026-w26 …2.1.186 New `claude mcp login <name>` and `claude mcp logout <name>` commands authenticate a configured MCP server from your shell instead of the interactive `/mcp` menu. `claude mcp login` runs the… Week 27 · June 29 – July 3, 2026 Claude Code CLI · in the page whats-new/2026-w27 …rom any session: ```text Claude Code theme={null} > /radio ``` [All commands](https://code.claude.com/docs/en/commands.md#all-commands) Other wins [Artifacts](https://code.claude.com/docs/en/artif… Week 28 · July 6–10, 2026 Claude Code CLI · in the page whats-new/2026-w28 …om any session: ```text Claude Code theme={null} > /doctor ``` [All commands](https://code.claude.com/docs/en/commands.md#all-commands) Other wins Auto mode now blocks tampering with session trans… Week 30 · July 20–24, 2026 Claude Code CLI · in the page whats-new/2026-w30 …ing network egress controlIn auto mode, the checks for dangerous `rm` commands, background jobs, and suspicious Windows paths no longer open permission dialogs; the auto-mode classifier adjudicates th… Week 32 · August 3–7, 2026 Claude Code CLI · in the page whats-new/2026-w32 …/en/sandboxing#mask-credential-files) on Linux and WSL2, so sandboxed commands read a sentinel copy while the sandbox proxy substitutes the real value on egress; credential masking also gains `extract… Week 33 · August 10–14, 2026 Claude Code CLI · in the page whats-new/2026-w33 …sl) to a size such as `4G` to cap the memory Bash and PowerShell tool commands can useThe task-tracking tools, such as `TaskCreate`, `TaskUpdate`, and `TodoWrite`, are [no longer available on Opus 4.8… Week 35 · August 24–28, 2026 Claude Code CLI · in the page whats-new/2026-w35 …estricted mode starts Claude Code without the built-in tools that run commands or code. Use it when an evaluation harness drives `claude` on a shared machine. Start it with `--restricted` or set `CLAU… Week 37 · September 7–11, 2026 Claude Code CLI · in the page whats-new/2026-w37 …` partway through a prompt, you can now pick from [a list of matching commands](https://code.claude.com/docs/en/interactive-mode.md#complete-a-command-mid-prompt) instead of a single suggestion. The l… What's new Claude Code CLI · in the page whats-new/index …mode, and from Remote Control; and **auto mode blocks destructive git commands** when you didn't ask to discard local work. [Read the Week 25 digest →](https://code.claude.com/docs/en/whats-new/2026-…
Feedback