Claude Code
Complete reference for Claude Code CLI commands, configuration, and features
Table of Contents
Installation & Setup
Getting started with Claude Code
Installation Methods
Multiple ways to install Claude Code
Basic Usage
Starting and using Claude Code
Essential Commands
Core slash commands in Claude Code
Session Management
Control your Claude Code session
Configuration Commands
Customize Claude Code behavior
Custom Commands
Create your own slash commands
Configuration Files
Understanding Claude Code configuration
Settings Files
Configuration file hierarchy
Permissions Configuration
Control tool approval requirements
CLAUDE.md File
Project-specific instructions
Output Styles
Customize Claude Code responses
Built-in Styles
Available output styles
Custom Output Styles
Create your own response styles
Hooks System
Automate and customize behavior
Hook Events
Available hook trigger points
Hook Configuration
Setting up hooks in settings.json
Hook Scripts
Creating custom hook scripts
Advanced Features
Power user capabilities
Subagents
Specialized agents for complex tasks
MCP Integration
Model Context Protocol for external data
CI/CD Integration
Use Claude Code in automation
Troubleshooting
Common issues and solutions
Diagnostic Commands
Debug and fix issues
Context Management
Handle context size limits