568 pages for command.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…d). ## Basic usage Add the `-p` (or `--print`) flag to any `claude` command to run it non-interactively. Not every [CLI option](/docs/en/cli-reference.md) combines with `-p`. Claude Code rejects `--…
Set up Claude Code (local mode) for a HIPAA-ready organization
Claude Code CLI · in the page
hipaa-setup
…d), update both. To read the installed 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 install…
Hooks reference
Claude Code CLI · in the page
hooks
…s with hooks](/docs/en/hooks-guide.md). Hooks are user-defined shell commands, HTTP endpoints, MCP tool calls, LLM prompts, or subagents that execute automatically at specific points in Claude Code's…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
# Automate actions with hooks > Run shell commands automatically when Claude Code edits files, finishes tasks, or needs input. Format code, send notifications, validate commands, and enforce project…
How Claude Code works
Claude Code CLI · in the page
how-claude-code-works
…le it excels at coding, it can help with anything you can do from the command line: writing docs, running builds, searching files, researching topics, and more. This guide covers the core architectur…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…e-line `Message from @<sender>` preview | | `Ctrl+R` | Reverse search command history | Search through previous commands interactively | | `Ctrl+V` or `Cmd+V` (iTerm2) or `Alt+V` (Windows and WSL) | P…
JetBrains IDEs
Claude Code CLI · in the page
jetbrains
…on its own after edits ## Installation The plugin runs the `claude` command in your IDE's integrated terminal and connects to it. It does not bundle its own copy of the CLI, so install both pieces:…
Customize keyboard shortcuts
Claude Code CLI · in the page
keybindings
…lity of Claude's to-do checklist. This is not the [`/tasks`](/docs/en/commands) background-task view | | `app:toggleTranscript` | Ctrl+O | Toggle verbose transcript | ### History actions Actions for…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…ules 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 as an argument, and the tar…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…* The gateway's base URL * A credential: a key or token string, or a command that fetches one * If your gateway team didn't say which kind of credential it is, the [credential variable section](#se…
Roll out an LLM gateway for your organization
Claude Code CLI · in the page
llm-gateway-rollout
…pstream provider | Configured on the gateway; never appears in client commands | | Gateway administrative credential | You, if your gateway product issues one for its admin or test interface | `<gatew…
Control MCP server access for your organization
Claude Code CLI · in the page
managed-mcp
…ved-catalog pattern, share the approved list and its `claude mcp add` commands somewhere your users will find them, such as an internal wiki, or distribute the servers as plugins through a [managed pl…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…want to confirm a rollout landed before pushing it to the fleet. Two commands on that machine answer it: `/status` shows which managed source Claude Code selected, and `claude doctor` lists what it d…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…dd these with the same `claude mcp add --transport http <name> <url>` command as [an HTTP server](#option-1-add-a-remote-http-server). Claude Code tries the HTTP transport first and switches to SSE wh…
Connect to MCP servers
Claude Code CLI · in the page
mcp-quickstart
…aude-code-docs https://code.claude.com/docs/mcp ``` The parts of the command: * `claude mcp add`: registers a server with Claude Code. * `--transport http`: the server is hosted at a URL rather than…
How Claude remembers your project
Claude Code CLI · in the page
memory
…oductive Keep it to facts Claude should hold in every session: build commands, conventions, project layout, "always do X" rules. If an entry is a multi-step procedure or only matters for one part of…
Claude Code on Microsoft Foundry
Claude Code CLI · in the page
microsoft-foundry
…UTH_TOKEN` > [!NOTE] > > When using Microsoft Foundry, the `/logout` command is unavailable since authentication is handled through Azure credentials. #### Use an API key Copy a key from the Micros…
Claude Code on mobile
Claude Code CLI · in the page
mobile
…most of what a session needs, with a few limitations: * **Local-only commands**: commands that only run in the terminal interface, such as `/plugin` and `/resume`, don't work from the app. The [Remot…
Model configuration
Claude Code CLI · in the page
model-config
…earlier, the model picker in the `/agents` wizard  * **Skill and command models**: the `model` frontmatter in [skills and commands](/docs/en/skills.md) * **Advisor model**: the configured [`advis…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…exporter endpoint or headers, so set those variables directly in the command if that application needs to export its own telemetry. ### How managed settings lock the OTLP destination When you set a…
Enterprise network configuration
Claude Code CLI · in the page
network-config
…thubusercontent.com` | Changelog feed for [`/release-notes`](/docs/en/commands). In interactive sessions, Claude Code also fetches it in the background at startup when its cached changelog doesn't yet…
Output styles
Claude Code CLI · in the page
output-styles
…o happen every time, such as formatting after each edit or blocking a command, use a [hook](/docs/en/hooks-guide.md). > * For skills, subagents, and the other options, see [Choose between an output st…
Overview
Claude Code CLI · in the page
overview
…is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools. Available in your terminal, IDE, desktop app, and browser. Claude Code is a…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…ode stops and asks you before most actions that edit files, run shell commands, or reach the network. In [auto mode](#eliminate-prompts-with-auto-mode), a second model, the classifier, reviews actions…
Configure permissions
Claude Code CLI · in the page
permissions
…tory 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 repository…
Platforms and integrations
Claude Code CLI · in the page
platforms
…[CLI quickstart](/docs/en/quickstart.md): install and run your first command in the terminal * [Desktop](/docs/en/desktop.md): visual diff review, parallel sessions, computer use, and Dispatch * [VS…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…n baseline, and gate CI on the score. The `claude plugin eval` shell command runs your [plugin](/docs/en/plugins/overview.md) against a suite of test cases and scores the results. Each case is a real…
Anthropic's marketplaces
Claude Code CLI · in the page
plugins/anthropic-marketplaces
…type the marketplace's name after `@`, as in `/plugin install commit-commands@claude-plugins-official`. Use this page to distinguish the three marketplaces and to find where to check whether the off…
Recommend your plugin from your CLI
Claude Code CLI · in the page
plugins/cli-hints
…erson runs your CLI directly. Claude Code sets `CLAUDECODE=1` in the commands it runs through the Bash and PowerShell tools and in hook commands. On v2.1.172 and later it also sets `CLAUDE_CODE_CHILD…
Code intelligence plugins
Claude Code CLI · in the page
plugins/code-intelligence
…telligence plugin A code intelligence plugin tells Claude Code which command starts the language server and which file extensions it handles. It doesn't include the language server. Install the langu…
Add components to a plugin
Claude Code CLI · in the page
plugins/components
…f component in its default location: * A review skill and an `about` command * A security-review subagent * A hook that formats files after Claude edits them, and the `scripts/` folder it calls * A l…
Create a Claude Code plugin
Claude Code CLI · in the page
plugins/create
…where you want to keep the plugin, such as `~/projects`, and run the commands in these steps from it. You can keep a plugin anywhere, because you pass its path to Claude Code when you start a session…
Create a marketplace
Claude Code CLI · in the page
plugins/create-marketplace
…git host, and anyone with access registers it in Claude Code with one command and installs your plugins from it. Create your own marketplace when you want a group you choose, such as your team or you…
Plugin dependencies
Claude Code CLI · in the page
plugins/dependencies
…or a team To let engineers install a curated set of plugins with one command, publish a plugin whose manifest contains a `name` and a `dependencies` array. A plugin manifest needs only `name`, so thi…
Host and maintain a marketplace
Claude Code CLI · in the page
plugins/host-marketplace
…Host your marketplace](#host-your-marketplace) to pick a host and the command your users run. Read [Keep users up to date](#keep-users-up-to-date) before your first release. Read [Rename or remove a p…
Install and manage plugins
Claude Code CLI · in the page
plugins/install
…[Install a plugin](#install-a-plugin). If someone sent you an install command whose `@` name isn't `claude-plugins-official`, [add that marketplace](#add-a-marketplace) first. ## Install a plugin As…
Plugin loading reference
Claude Code CLI · in the page
plugins/loading
…s/en/permissions.md#working-directories) and, unlike plain skills and commands, doesn't [search parent directories](/docs/en/skills.md#discovery-from-parent-and-nested-directories) for plugins. Launch…
Plugin manifest reference
Claude Code CLI · in the page
plugins/manifest-reference
…plugin root, not inside `.claude-plugin/`. That includes `skills/`, `commands/`, and `hooks/`. The following example sets most of the keys in the [Fields table](#fields). It passes validation in a p…
Marketplace reference
Claude Code CLI · in the page
plugins/marketplace-reference
…ins/manifest-reference), such as `description`, `version`, `author`, `commands`, and `hooks`. For when those fields apply, see [How an entry combines with plugin.json](#entry-and-plugin-json). The ta…
Measure plugin cost and usage
Claude Code CLI · in the page
plugins/measure
…nabled includes the names and descriptions of its skills, agents, and commands in Claude's context, and those tokens count against the user's usage whether or not the plugin gets used. This page shows…
Manage mods for your organization
Claude Code CLI · in the page
plugins/mods/admin
…ce the controls you already have: * **Settings hooks keep working.** Command, HTTP, prompt, and agent hooks in settings files and in plugins' `hooks/hooks.json` run as before, alongside mods. * **Den…
Use the mods API
Claude Code CLI · in the page
plugins/mods/api
# Use the mods API > Call the mods API from a Claude Code mod to add commands and tools, call a model, run work on a timer, message other sessions, and reach files and the network. The mods API is t…
Create a mod
Claude Code CLI · in the page
plugins/mods/create
…description, or write one yourself that counts tool calls and adds a command. Learn the reload and validate loop. A mod is a Claude Code [plugin](/docs/en/plugins/overview.md) with an entry file, ca…
React to events with a mod
Claude Code CLI · in the page
plugins/mods/events
…nd Claude Code's own behavior don't run. This hook refuses every Bash command: ```javascript theme={null} on('tool.call', { tool: 'Bash' }, async () => { // No call to next, so the command never ru…
Interface gallery for mods
Claude Code CLI · in the page
plugins/mods/gallery
…n these steps and paste the sample into it. The mod adds a `/gallery` command that opens a pane and draws the sample there. A [pane](/docs/en/plugins/mods/interface.md#pick-where-to-draw) is a sidebar…
Draw in the interface with a mod
Claude Code CLI · in the page
plugins/mods/interface
…with tabs In this section you build a mod that adds a `/hello-tabs` command, and the command opens a pane. A pane is a sidebar beside the transcript in a wide fullscreen terminal, or a framed region…
Mods overview
Claude Code CLI · in the page
plugins/mods/overview
# Mods overview > Add panes, commands, and tool call rules to Claude Code with a mod. See what a mod can do, how to make or install one, and where mods run. A mod is a [plugin](/docs/en/plugins/over…
Mods reference
Claude Code CLI · in the page
plugins/mods/reference
…ill's `SKILL.md` file, or of its `.md` file for a skill written as a [command file](/docs/en/skills.md#where-skills-live). Absent when the skill has no file on this machine, as with a built-in skill.…
Test a mod
Claude Code CLI · in the page
plugins/mods/test
…our shell with [`claude plugin test`](/docs/en/plugins/mods/reference#commands). A test fires the events your hooks handle and checks what the hooks did, so you catch a problem before it reaches a ses…
Troubleshoot a mod
Claude Code CLI · in the page
plugins/mods/troubleshoot
…means | | :- | :- | | `no hooks module to load` | Mods can load. The command found no mod to test in this directory. | | `hooks modules are turned off here` | A setting is blocking your mods: `disabl…