329 pages for shell.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Quickstart
Claude Code CLI · in the page
quickstart
…bash ``` On Windows, your prompt shows `PS C:\` when you're in PowerShell and `C:\` without the `PS` when you're in CMD. **Windows PowerShell:** ```powershell theme={null} irm https://claude.ai/in…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…Control is unavailable. Unset the variable wherever it's set, in your shell environment or in the `env` block of a [`settings.json` file](/docs/en/settings-reference#all-settings), to use Remote Contr…
Automate work with scheduled tasks
Claude Code CLI · in the page
routines
…cloud sessions. You don't choose a permission mode. The session runs shell commands, uses [skills](/docs/en/skills), and calls any connectors you include, all without stopping for approval apart from…
Choose a sandbox environment
Claude Code CLI · in the page
sandbox-environments
…:- | :- | | [Sandboxed 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](#s…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…boxed 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 b…
Catch security issues as Claude writes code
Claude Code CLI · in the page
security-guidance
…hes Claude makes through its Bash tool. Commits you run from your own shell, including the `!` shell escape inside a session, are not reviewed. Commit and push reviews are capped at 20 per rolling hou…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…which is Linux or macOS, and the examples on this page assume a POSIX shell. A few hook environment variables on this page still use `pool`, such as `CLAUDE_RUNNER_POOL_ID`; the CLI flag and env var…
Deploy self-hosted environments to production
Claude Code CLI · in the page
self-hosted-environments-deploy
…ps a session, it sends no signal to a process still running after its shell command exited, such as a service that daemonized. Destroying the container or VM ends that process. * **No broad credential…
Self-hosted environments quickstart
Claude Code CLI · in the page
self-hosted-environments-quickstart
…d setup. To start the guided setup, run the setup subcommand in your shell and follow the prompts: ```bash theme={null} claude self-hosted-runner setup ``` The setup doesn't start a test session it…
Self-hosted environments reference
Claude Code CLI · in the page
self-hosted-environments-reference
…ommand>` | `SELF_HOSTED_RUNNER_PROXY_AUTHORIZATION_COMMAND` | unset | Shell command the runner runs for every connection to your egress proxy, using its trimmed stdout as the `Proxy-Authorization` hea…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…t-edit.sh" } ] } ] } } ``` Because hooks execute shell commands, users in interactive sessions see a [security approval dialog](#security-approval-dialogs) before Claude Code appl…
Manage sessions
Claude Code CLI · in the page
sessions
…, the resume is a [background dispatch](/docs/en/agent-view#from-your-shell) instead. Before v2.1.285, Claude Code refused and told you to open the session with `claude attach <id>`, or to stop it wit…
Claude Code settings
Claude Code CLI · in the page
settings
…yHelper` | Custom command, run through the system shell (`/bin/sh` on macOS and Linux, `cmd` on Windows), to generate an auth value. This value will be sent as `X-Api-Key` and `Aut…
All settings
Claude Code CLI · in the page
settings-reference
…ier | Permission settings | User or managed | | [`autoMode.classifyAllShell`](#automode-classifyallshell) | Send every shell command through the [auto mode classifier](/docs/en/permission-modes#what-t…
Advanced setup
Claude Code CLI · in the page
setup
…figuration](/docs/en/network-config#network-access-requirements). * **Shell**: Bash, Zsh, PowerShell, or CMD. * **Location**: [Anthropic supported countries](https://www.anthropic.com/supported-countr…
Extend Claude with skills
Claude Code CLI · in the page
skills
…at Claude Code replaces every `!` command line with the [`disableSkillShellExecution` placeholder](#inject-dynamic-context), as it does for every skill you supply there. * In any other session on your…
Customize your status line
Claude Code CLI · in the page
statusline
…line is a customizable bar at the bottom of Claude Code that runs any shell script you configure. It receives JSON session data on stdin and displays whatever your script prints, giving you a persiste…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…identify root causes, and provide fixes." } }' ``` **Windows PowerShell** ```powershell theme={null} claude --agents @' { "code-reviewer": { "description": "Expert code reviewer. Use proact…
Configure your terminal for Claude Code
Claude Code CLI · in the page
terminal-config
…equires Claude Code v2.1.295 or later. Run `claude --version` in your shell to check. * **tmux**: inside tmux, Claude Code checks tmux for support instead of your terminal, and [`allow-passthrough`](#…
Tools reference
Claude Code CLI · in the page
tools-reference
…behavior](#askuserquestion-tool-behavior) | No | | `Bash` | Executes shell commands in your environment. See [Bash tool behavior](#bash-tool-behavior) | Yes | | `CronCreate` | Schedules a recurring o…
Troubleshoot installation and login
Claude Code CLI · in the page
troubleshoot-install
…/.zshrc` or `bash: /home/you/.bashrc: Permission denied` | [Make your shell config file writable](#permission-denied-when-adding-to-your-path) | | `syntax error near unexpected token '<'` | [Install s…
Troubleshooting
Claude Code CLI · in the page
troubleshooting
…onfirm. If `claude` won't start at all, run `claude doctor` from your shell instead. Run `/mcp` to check MCP server status. ## Performance and stability These sections cover issues related to resour…
Voice dictation
Claude Code CLI · in the page
voice-dictation
…his host can't capture audio, for example a headless server, a remote shell with no audio passthrough, or a denied microphone permission. Confirm a working input device, fix the underlying cause from…
Use Claude Code in VS Code
Claude Code CLI · in the page
vs-code
…eloper: Reload Window**. If you have `ANTHROPIC_API_KEY` set in your shell but still see the sign-in prompt, VS Code may not have inherited your shell environment. Launch VS Code from a terminal with…
Get started with Claude Code in the cloud
Claude Code CLI · in the page
web-quickstart
…rding flow instead. **1. Authenticate with the GitHub CLI** In your shell, authenticate the GitHub CLI if you haven't already: ```bash theme={null} gh auth login ``` **2. Sign in to Claude** In t…
Week 13 · March 23–27, 2026
Claude Code CLI · in the page
whats-new/2026-w13
…use built in, PR auto-fix in the cloud, transcript search, and a PowerShell tool for Windows. Releases [v2.1.83 → v2.1.85](/docs/en/changelog#2-1-83) 6 features · March 23–27 Auto mode research prev…
Week 14 · March 30 – April 3, 2026
Claude Code CLI · in the page
whats-new/2026-w14
…tches you code. An April Fools' joke, no longer available`disableSkillShellExecution` setting blocks inline shell from skills, custom commands, and plugin commandsEdit tool now works on files viewed v…
Week 18 · April 27 – May 1, 2026
Claude Code CLI · in the page
whats-new/2026-w18
…ows is no longer required. When Bash is absent, Claude Code uses PowerShell as the shell tool, and when the PowerShell tool is enabled it is treated as the primary shell. PowerShell 7 installed via th…
Week 20 · May 11–15, 2026
Claude Code CLI · in the page
whats-new/2026-w20
…&s=0eefe6cbe75464c8f7902bba630ab7a4" /> Open the dashboard from your shell: ```bash terminal theme={null} claude agents ``` [Agent view](/docs/en/agent-view) /goal v2.1.139 Set a completion condi…
Week 21 · May 18–22, 2026
Claude Code CLI · in the page
whats-new/2026-w21
…s JSON for scripting, such as status bars and session pickersThe PowerShell tool is now enabled by default on Windows for Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry users; op…
Week 22 · May 25–29, 2026
Claude Code CLI · in the page
whats-new/2026-w22
…derstand-the-cost-tradeoff) Other wins In `claude agents`, prefix a shell command with `!` to run it as a background job you can attach to and detach from; also available as `claude --bg --exec 'pyt…
Week 23 · June 1–5, 2026
Claude Code CLI · in the page
whats-new/2026-w23
…at can run code, even in `acceptEdits` mode. The protected set covers shell startup files such as `.zshenv` and `.bash_login`, git config under `~/.config/git/`, and build-tool configs such as `.npmrc…
Week 26 · June 22–26, 2026
Claude Code CLI · in the page
whats-new/2026-w26
# Week 26 · June 22–26, 2026 > Authenticate MCP servers from your shell with claude mcp login, get a response to shell mode command output with the ! prefix, and resume a conversation from before /cl…
Week 29 · July 13–17, 2026
Claude Code CLI · in the page
whats-new/2026-w29
…and review output end to end. Turn it on per session with a flag, per shell with the `CLAUDE_AX_SCREEN_READER` environment variable, or everywhere with the `axScreenReader` setting. Start a session i…
Week 30 · July 20–24, 2026
Claude Code CLI · in the page
whats-new/2026-w30
…er adjudicates them insteadBash permission checks fail closed on more shell forms, including file-descriptor redirects, Zsh variable subscripts in `[[ ]]` comparisons, `help` and `man` invocations tha…
Week 33 · August 10–14, 2026
Claude Code CLI · in the page
whats-new/2026-w33
…linux-and-wsl) 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…
Week 36 · August 31 – September 4, 2026
Claude Code CLI · in the page
whats-new/2026-w36
…ved line counts and refreshes each time Claude edits a file or runs a shell command. Select lines in the panel with the mouse to attach them to your next prompt. <video autoPlay muted loop playsInlin…
What's new
Claude Code CLI · in the page
whats-new/index
…*`claude mcp login`**: authenticate a configured MCP server from your shell instead of the interactive `/mcp` menu, and clear its stored credentials later with `claude mcp logout`. Also this week: **…
Orchestrate subagents at scale with dynamic workflows
Claude Code CLI · in the page
workflows
…tages, run each stage as its own workflow | | No direct filesystem or shell access from the workflow itself | Agents read, write, and run commands. The script coordinates the agents | | No module load…
Run parallel sessions with worktrees
Claude Code CLI · in the page
worktrees
…out. * **Command working directory**: Claude Code blocks a Bash, PowerShell, or Monitor command whose working directory resolves to the main checkout, or whose working directory it can't verify stays…
Claude Science changelog
Claude Documentation · in the page
claude-science/changelog
…* Mac: fixed a problem introduced in 0.1.59 where Python, R, and some shell commands could fail to run when Claude Science has access to many folders * **Settings > Network > Package mirror** now show…
Compute providers
Claude Documentation · in the page
claude-science/compute-providers
…n or project. A separate card asks before Claude opens a Modal setup shell (capped at 30 minutes, no GPU). Input files are limited to 1 GiB per submit. For larger inputs, Claude can stage data to a…
Core concepts
Claude Documentation · in the page
claude-science/core-concepts
…s until revoked | | Run code | Run Python code? / Run R code? / Run a shell command? / Run a PowerShell command? (Windows) / Install packages? | Once, This conversation, This project, or Global | | Wo…
Use Claude Science on a corporate network
Claude Documentation · in the page
claude-science/corporate-networks
…nd open it again; variables typed into an open Command Prompt or PowerShell window do not reach an app started from the Start menu. Because Claude Science already follows Windows proxy settings, most…
Get started
Claude Documentation · in the page
claude-science/get-started
…Windows so that cells can run git and Command Prompt scripts and PowerShell can change folders, **Yes** lets Windows ask for approval (an administrator's password if you aren't one) and **No** leaves…
Manage Claude Science on devices
Claude Documentation · in the page
claude-science/manage-on-devices
…so that Command Prompt scripts and git can run inside cells and PowerShell cells can change folders, while Python and R cells work without it. If security software holds the sandbox launcher or quara…
Claude Science
Claude Documentation · in the page
claude-science/overview
…k or analysis in plain language; Claude writes and runs Python, R, or shell code in a sandbox, reads the folders you grant it, pulls data from scientific databases through connectors, and saves result…
Run on a remote Linux server
Claude Documentation · in the page
claude-science/run-on-remote-linux-server
…ocal/bin`. If it prints a PATH line at the end, add that line to your shell profile. Then confirm the command works: ```bash theme={null} . ~/.profile claude-science --version ``` ## Forward the por…
Tools and environments
Claude Documentation · in the page
claude-science/tools-and-environments
# Tools and environments > Claude writes and runs Python, R, and shell commands. Claude writes and runs Python, R, and shell commands (PowerShell on Windows). Python and R run in a persistent kernel…
Limits for federated agent access
Claude Documentation · in the page
claude-tag/admins/federated-access/limits
…are Proxy, Apigee, Secret Manager, Parameter Manager, OS Login, Cloud Shell, Cloud Identity, the Google Workspace Admin SDK, Cloud KMS, Cloud Tasks, Cloud Scheduler, Eventarc, Workflows and Workflow E…