983 pages for bash.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Claude Code on Claude Platform on AWS
Claude Code CLI · in the page
claude-platform-on-aws
…method that produces credentials in the standard locations works. ```bash theme={null} aws sso login --profile my-profile export AWS_PROFILE=my-profile ``` For CI and automation, give the runner an…
Scan your codebase for vulnerabilities
Claude Code CLI · in the page
claude-security
…om your shell, or ask Claude to apply it and open a pull request: ```bash theme={null} git apply CLAUDE-SECURITY-<timestamp>/patches/F1.patch ``` When the patched code has no tests, the patch's note…
claude-tag
Claude Code CLI · in the page
claude-tag
…cjs,.md,.mdx,.json,.html,.css,.py,.csv,.txt,.yaml,.yml,.xml,.sql,.sh,.bash,.zsh,.graphql,.gql,.toml,.env,.go,.rs,.rb,.java,.kt,.swift,.c,.cpp,.cc,.h,.hpp,.cs,.php,.dart,.lua,.r,.scala,.ini,.cfg,.conf,…
CLI reference
Claude Code CLI · in the page
cli-reference
…| `"Bash(git log *)" "Bash(git diff *)" "Read"` | | `--append-subagent-system-pr…
Configure cloud environments
Claude Code CLI · in the page
cloud-environments
…s) in the session. This example sets a commit-message preference: ```bash theme={null} #!/bin/bash mkdir -p ~/.claude cat > ~/.claude/CLAUDE.md <<'EOF' Use conventional commit messages. EOF ``` Put…
Code Review
Claude Code CLI · in the page
code-review
…RUN_ID` with your repository owner, repository name, and that ID: ```bash theme={null} gh api repos/OWNER/REPO/check-runs/CHECK_RUN_ID \ --jq '.output.text | split("bughunter-severity: ")[1] | spli…
Read and request reviews on a pull request
Claude Code CLI · in the page
code-review-pull-requests
…and name, and `<commit-sha>` with the pull request's head commit: ```bash theme={null} gh api repos/OWNER/REPO/commits/<commit-sha>/check-runs --jq '.check_runs[] | {id, name}' ``` If the commit has…
Commands
Claude Code CLI · in the page
commands
…/skills#bundled-skills).** Scan your transcripts for common read-only Bash and MCP tool calls, then add a prioritized allowlist to project `.claude/settings.json` to reduce permission prompts…
Common workflows
Claude Code CLI · in the page
common-workflows
…structure quickly. **1. Navigate to the project root directory** ```bash theme={null} cd /path/to/project ``` Replace `/path/to/project` with the path to your project. **2. Start Claude Code** `…
Communications kit
Claude Code CLI · in the page
communications-kit
…unning in two minutes: curl -fsSL https://claude.ai/install.sh | bash cd <your-repo> claude Then run /init once. Claude reads your project and writes a CLAUDE.md with your build commands…
Let Claude use your computer from the CLI
Claude Code CLI · in the page
computer-use
…vice, Claude uses that. * If the task is a shell command, Claude uses Bash. * If the task is browser work and you have [Claude in Chrome](/docs/en/chrome.md) set up, Claude uses that. * If none of tho…
Explore the context window
Claude Code CLI · in the page
context-window
…first | | [Background commands](/docs/en/interactive-mode#background-bash-commands) and background [subagents](/docs/en/sub-agents#run-subagents-in-foreground-or-background) | Keep running. Claude Co…
Run Claude Code behind a corporate launcher
Claude Code CLI · in the page
corporate-launcher
…nd by calling `exec "$@"` so it replaces itself with Claude Code: ```bash theme={null} #!/bin/sh # Your organization's setup: enter the sandbox, apply # network controls, or inject credentials. exec…
Manage costs effectively
Claude Code CLI · in the page
costs
…docs/en/settings.md#where-settings-live) to run the hook before every Bash command: ```json theme={null} { "hooks": { "PreToolUse": [ { "matcher": "Bash", "hooks": […
Message your other Claude Code sessions
Claude Code CLI · in the page
cross-session-messaging
…th `uds:`. * Claude Code exports it to [hooks](/docs/en/hooks.md) and Bash commands as the [`CLAUDE_CODE_MESSAGING_SOCKET`](/docs/en/env-vars#variables) environment variable: * In a session that sta…
Debug your configuration
Claude Code CLI · in the page
debug-your-config
…laude Code session running, create the directory and move into it: **Bash or Zsh** ```bash theme={null} mkdir -p ~/claude-clean/empty && cd ~/claude-clean/empty ``` **PowerShell** ```powershell th…
Launch sessions from links
Claude Code CLI · in the page
deep-links
…command passes the URL to the registered `claude-cli://` handler: ```bash theme={null} open "claude-cli://open?repo=acme/payments&q=review%20open%20PRs" ``` On success, a new terminal window opens w…
Desktop application
Claude Code CLI · in the page
desktop
…roved while you keep working. > [!WARNING] > > Unlike the [sandboxed Bash tool](/docs/en/sandboxing.md), computer use runs on your actual desktop with access to whatever you approve. Claude checks ea…
Test iOS apps in the simulator
Claude Code CLI · in the page
desktop-ios-simulator
…nstalled as `/Applications/Xcode-26.4.app`, run this in Terminal: ```bash theme={null} sudo xcode-select -s /Applications/Xcode-26.4.app ``` Then quit and reopen Claude Desktop so the pane uses the…
Claude Desktop on Linux (beta)
Claude Code CLI · in the page
desktop-linux
…f either command reports `command not found`, install both first: ```bash theme={null} sudo apt install curl gnupg ``` Download Anthropic's signing key: ```bash theme={null} sudo curl -fsSLo /usr/s…
Development containers
Claude Code CLI · in the page
devcontainer
…en/sandbox-environments.md): compare dev containers with the built-in Bash sandbox, custom containers, and VMs * [Security model](/docs/en/security.md): how Claude Code's permission system, sandboxing…
Environment variables
Claude Code CLI · in the page
env-vars
…launching `claude`: <Tabs> <Tab title="macOS, Linux, WSL"> ```bash theme={null} export API_TIMEOUT_MS="1200000" claude ``` To set it for every session, add the `export` line t…
Error reference
Claude Code CLI · in the page
errors
…ecurity-review-fails-without-origin-head) | | ``Skill <name> requires bash (`shell: bash` in frontmatter) but Git Bash was not found`` | [Command-line errors](#security-review-fails-without-origin-hea…
Fullscreen rendering
Claude Code CLI · in the page
fullscreen
…ODE_NO_FLICKER` environment variable before starting Claude Code: ```bash theme={null} CLAUDE_CODE_NO_FLICKER=1 claude ``` For how the [`tui`](/docs/en/settings-reference#tui) setting and the variab…
Claude Code with GitHub Enterprise Server
Claude Code CLI · in the page
github-enterprise-server
…` and the repository path with your GHES hostname and repository: ```bash theme={null} git clone [email protected]:platform/api-service.git cd api-service ``` Then start a cloud session. Claude…
Claude Code GitLab CI/CD
Claude Code CLI · in the page
gitlab-ci-cd
…h before_script: - apk update - apk add --no-cache git curl bash - curl -fsSL https://claude.ai/install.sh | bash # The installer places claude in ~/.local/bin, which isn't on PATH i…
Glossary
Claude Code CLI · in the page
glossary
…resumed session can still `/rewind` to them. Rewinding doesn't undo a Bash command's changes to a file unless Claude had already used its file editing tools on that file in your conversation. Learn m…
Keep Claude working toward a goal
Claude Code CLI · in the page
goal
…oal with `-p` runs the loop to completion in a single invocation: ```bash theme={null} claude -p "/goal CHANGELOG.md has an entry for every PR merged this week" ``` With the default text output, Cla…
Claude Code on Google Cloud's Agent Platform
Claude Code CLI · in the page
google-vertex-ai
…ith your GCP project ID here and in the configuration step below: ```bash theme={null} # Set your project ID gcloud config set project YOUR-PROJECT-ID # Enable Agent Platform API gcloud services ena…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…prompt and the [CLI options](/docs/en/cli-reference.md) you need: ```bash theme={null} claude -p "Find and fix the bug in auth.py" --allowedTools "Read,Edit,Bash" ``` This page covers using the Agen…
Set up Claude Code (local mode) for a HIPAA-ready organization
Claude Code CLI · in the page
hipaa-setup
…Claude Code version, run this command in a terminal. It's the same in Bash, Zsh, and PowerShell: ```bash theme={null} claude --version ``` A supported installation prints `2.1.285 (Claude Code)` or…
Hooks reference
Claude Code CLI · in the page
hooks
…estructive shell commands. **macOS/Linux** The `matcher` narrows to Bash tool calls and the `if` condition narrows further to Bash subcommands matching `rm *`, so `block-rm.sh` only spawns when both…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…ce to make Script Editor appear in your notification settings: > > ```bash theme={null} > osascript -e 'display notification "test"' > ``` > > Nothing will appear yet. Open **System Settings > Notific…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…rcepts `Ctrl+V` | | `Ctrl+B` | Background running tasks | Backgrounds Bash commands and agents. Tmux users press twice | | `Ctrl+T` | Toggle Claude's task checklist | Show or hide [Claude's to-do chec…
JetBrains IDEs
Claude Code CLI · in the page
jetbrains
…nect Claude Code to your JetBrains IDE and activate all features: ```bash theme={null} claude ``` ```text theme={null} /ide ``` When the connection succeeds, Claude Code confirms with a message lik…
Customize keyboard shortcuts
Claude Code CLI · in the page
keybindings
…E` by default, showed a model-generated explanation of the command on Bash and PowerShell permission prompts. Dialogs use `confirm:yes` and `confirm:no` to accept and cancel even when they don't ask…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…)" ] } } ``` Deny rules cover Claude's built-in file tools. In Bash, they cover the file commands Claude Code recognizes, such as `cat`, `head`, `grep`, and `find`, when a denied path appears a…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…bles Replace the values with the ones your gateway team gave you: **Bash or Zsh** ```bash theme={null} export ANTHROPIC_BASE_URL=https://llm-gateway.example.com export ANTHROPIC_AUTH_TOKEN=sk-gatew…
Claude Code gateway compatibility guide
Claude Code CLI · in the page
llm-gateway-protocol
…ults this request carries, as `<name>=<ms>;<name>=<ms>`, for example `Bash=742;Read=9`. Sent on the next request of the same conversation after a batch of tool calls, from the main session or a subage…
Roll out an LLM gateway for your organization
Claude Code CLI · in the page
llm-gateway-rollout
…mple uses `claude-sonnet-4-6`; substitute a name you've configured **Bash or Zsh** ```bash theme={null} curl -X POST "https://llm-gateway.example.com/v1/messages" \ -H "Authorization: Bearer <gate…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…is the most widely supported transport for cloud-based services. ```bash theme={null} # Basic syntax claude mcp add --transport http <name> <url> # Real example: Connect to Notion claude mcp add --…
Connect to MCP servers
Claude Code CLI · in the page
mcp-quickstart
…on: you're configuring the server before starting a conversation. ```bash theme={null} claude mcp add --transport http claude-code-docs https://code.claude.com/docs/mcp ``` The parts of the command:…
How Claude remembers your project
Claude Code CLI · in the page
memory
…r file in that subdirectory. Reading includes viewing the file with a Bash command that [counts as a read](/docs/en/tools-reference.md#edit-tool-behavior), such as `cat` or `head` on a single file. Fo…
Claude Code on Microsoft Foundry
Claude Code CLI · in the page
microsoft-foundry
…variable, replacing `your-azure-api-key` with the key you copied: ```bash theme={null} export ANTHROPIC_FOUNDRY_API_KEY=your-azure-api-key ``` #### Use Microsoft Entra ID Leave `ANTHROPIC_FOUNDRY_A…
Model configuration
Claude Code CLI · in the page
model-config
…tructured-output) instead. For example, start a session on Opus: ```bash theme={null} claude --model opus ``` Then switch models from within the session: ```text theme={null} /model sonnet ``` Ex…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…Quick start Configure OpenTelemetry using environment variables: ```bash theme={null} # 1. Enable telemetry export CLAUDE_CODE_ENABLE_TELEMETRY=1 # 2. Choose exporters (both are optional - configur…
Enterprise network configuration
Claude Code CLI · in the page
network-config
…[mTLS authentication](#mtls-authentication) for the scope rules. ```bash theme={null} # HTTPS proxy (recommended) export HTTPS_PROXY=https://proxy.example.com:8080 # HTTP proxy (if HTTPS not availa…
Overview
Claude Code CLI · in the page
overview
…ommand. **Native Install (Recommended)** **macOS, Linux, WSL:** ```bash theme={null} curl -fsSL https://claude.ai/install.sh | bash ``` On Windows, your prompt shows `PS C:\` when you're in PowerS…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…s-blockreadsoutsideworkingdirectories) is on: recognized file-reading Bash commands prompt even in auto mode and `bypassPermissions` mode, and so does any [unsandboxed retry](/docs/en/sandboxing.md#th…
Configure permissions
Claude Code CLI · in the page
permissions
…directory and additional directories](#working-directories) | N/A | | Bash commands | Shell execution | Yes, except a built-in set of [read-only commands](#read-only-commands) | Permanently per reposi…