Claude Code Cheat Sheet
A cheat sheet based on Claude Code v2.1.81 (updated 2026-03-23): shortcuts, slash commands, MCP, workflows and environment variables in one sheet. Search online for instant answers, or download the PDF to read anytime.
FAQ
What does this Claude Code cheat sheet cover?
It covers 9 sections with 237+ entries: keyboard shortcuts, MCP servers, slash commands, memory & files (CLAUDE.md), workflows & tips, configuration & environment variables, skills & agents, CLI subcommands, and CLI flags.
How do I quickly find a shortcut or command?
Use the search box at the top of the page to filter in real time by name, description or file path; click any entry to copy it in one click.
How do I download or view the cheat sheet online?
Click the "Download PDF" button at the top of this page to save it locally, or browse the PDF directly in the preview area at the bottom — no download needed.
Where should CLAUDE.md be placed?
./CLAUDE.md is project-level (team-shared), ~/.claude/CLAUDE.md is personal (applies to all projects), and /etc/claude-code/ is organization-managed; you can also import other files within CLAUDE.md using the @path/to/file syntax.
How do I run Claude Code in headless mode?
claude -p "query" runs non-interactively; --output-format json emits structured results; cat file | claude -p accepts piped input; --max-budget-usd sets a cost cap.
Is the cheat sheet paid, or does it require registration?
No. The cheat sheet is a free resource — just click to download, no sign-up or login required, and no personal information is collected.
Which version is the cheat sheet based on? Will it be updated?
The core content is based on the official Claude Code v2.1.81 cheat sheet (2026-03-23); the CLI subcommands and flags sections were verified against the official cli-reference docs as of 2026-09. Claude Code iterates quickly, so this site periodically syncs new official content and updates the online data and PDF.