Claude Code
AI-powered coding assistant CLI. Generate code, refactor, debug, and get answers from your terminal.
93 commands
Browse by Topic
Getting Started
Quick setup and installation
General
General commands
Permissions
Permission & security
Context
Context management
Sessions
Session management
Config
Configuration
MCP
Model Context Protocol
Agents
Agents & background tasks
Workflows
Common workflows
Utilities
Diagnostics & utilities
Environment
Environment variables
Installation
Install & updates
Install Claude Code
Install Claude Code CLI globally using npm
Check Claude Code version
Verify Claude Code is installed and display the current version
Start Claude Code
Launch an interactive Claude Code session in the current directory
Skip all permission prompts (YOLO mode)
Bypass all permission checks. Only use in isolated containers!
Accept edits permission mode
Auto-accept file edits without prompting.
Plan-only permission mode
Only allow planning, no file modifications.
Bypass permissions mode
Bypass permission prompts (use with caution).
Restrict allowed tools
Only allow specific tools to run.
Enable sandbox mode
Enable filesystem and network isolation.
View/manage permissions
Manage permission settings interactively.
Initialize CLAUDE.md
Create project CLAUDE.md context file.
Add directory to context
Add a directory to the working context.
Compact conversation
Condense conversation history to save tokens.
Compact with focus
Compact conversation while preserving specific topic.
Clear conversation
Clear conversation history completely.
View token usage breakdown
Display detailed token usage breakdown.
Show cost
Display token usage and estimated costs.
View session statistics
Show usage statistics and trends.
View session status
View current session metadata.
Edit memory files
Edit persistent memory files.
Rewind to checkpoint
Return to previous checkpoint (or press Esc twice).
Export conversation
Save conversation to a file.
Resume numbered session
Resume session by number from history.
Rename current session
Give current session a meaningful name.
Fork current session
Branch session for parallel exploration.
Exit session
End current session.
Open settings
Open settings interface.
Switch model mid-session
Switch AI model during conversation.
Set output style
Change output format and verbosity.
Toggle sandbox mode
Toggle filesystem/network isolation.
View hooks configuration
View configured hooks.
Enable vim mode
Enable vim-style editing in REPL.
Configure terminal setup
Configure shell integration.
Connect to IDE
Connect Claude Code to your IDE.
Interactive MCP management
Open interactive MCP server management.
List MCP servers
List all configured MCP servers.
Get MCP server details
Show details for a specific MCP server.
Add HTTP MCP server
Add MCP server via HTTP transport.
Add stdio MCP server
Add MCP server via stdio transport.
Remove MCP server
Remove an MCP server.
Reset MCP project choices
Reset all project-specific MCP choices.
View MCP status in session
View MCP server status in interactive mode.
Manage agents
Open agent management interface.
Create custom agent
Create a new custom agent.
Edit agent
Modify an existing agent.
Delete agent
Remove a custom agent.
Monitor running tasks
View status of background agents and tasks.
List background shells
List background shell tasks.
Send task to cloud
Send task to run in cloud (Remote execution).
Move task to background
Move running task to background.
Generate commit message
Generate and create a git commit.
Create pull request
Generate and create a pull request.
Fix failing tests
Analyze and fix test failures.
Write tests for code
Generate tests for existing code.
Refactor code
Refactor code with specific improvements.
Explain code
Get detailed code explanations.
Review code for issues
Get code review with specific focus.
Add documentation
Generate documentation for code.
Health check
Run diagnostics and health checks.
Report bug
Report an issue directly from Claude Code.
View release notes
View latest updates and changes.
Get help
Show available commands and help.
Manage plugins
Plugin management interface.
Disable slash commands
Run without slash command support.
Set API key
Set Anthropic API key for direct access.
Use AWS Bedrock
Use Claude via AWS Bedrock.
Use Google Vertex AI
Use Claude via Google Vertex AI.
Disable auto-updates
Prevent automatic updates.
Disable telemetry
Opt out of analytics collection.
Set extended thinking tokens
Increase thinking token budget.
Set max output tokens
Set maximum output token limit.
Set bash timeout
Set default timeout for bash commands.
Set MCP timeout
Set MCP server startup timeout.
Install (macOS/Linux)
Install Claude Code on macOS or Linux.
Install via Homebrew
Install Claude Code using Homebrew.
Install (Windows)
Install Claude Code on Windows PowerShell.
Install via WinGet
Install Claude Code using WinGet.
Discussion
Loading comments...