The complete Claude Code cheatsheet covers every keyboard shortcut, slash command, CLI flag, and feature. Toggle between Mac and Windows/Linux keys, search instantly across 100+ entries. Perfect for developers using Anthropic's AI coding assistant.
How to Use This Claude Code Cheatsheet
Claude Code is Anthropic's AI-powered coding assistant that runs directly in your terminal. This cheatsheet gives you instant access to every keyboard shortcut, slash command, and CLI flag — so you can work faster without breaking flow.
Toggle Between Mac and Windows
Click the Mac/Windows toggle at the top to switch between operating system shortcuts. Mac uses modifier keys like ⌘ (Command), ⌥ (Option), and ⌃ (Control), while Windows/Linux uses Ctrl and Alt. The cheatsheet remembers your preference.
Search Across All Sections
Type in the search bar to filter across keyboard shortcuts, slash commands, CLI flags, and features simultaneously. Search matches against command names, descriptions, and key bindings. Use the section filter buttons to narrow results to a specific category.
Getting Started with Claude Code
Install Claude Code with npm install -g @anthropic-ai/claude-code, then run claude in any project directory. Use Shift+Tab to cycle between permission modes (Normal, Auto-Accept, Plan), and /compact to compress context when conversations get long.
Power User Tips
Use claude -c to continue your last session, /btw to ask side questions without context cost, and Esc Esc to rewind mistakes. Set up custom skills in .claude/skills/ for project-specific workflows.
Frequently Asked Questions
Is this Claude Code cheatsheet free?
Yes, this cheatsheet is completely free with no signup required. Bookmark it and use it anytime.
Is my data safe?
Yes, everything runs locally in your browser. No data is sent to any server.
What version of Claude Code does this cover?
This cheatsheet covers the latest Claude Code CLI features including slash commands, keyboard shortcuts, MCP servers, skills, agents, and voice mode.
What's the difference between Mac and Windows shortcuts?
Most shortcuts are the same but use different modifier keys. Mac uses ⌘ (Command), ⌥ (Option), and ⌃ (Control), while Windows uses Ctrl and Alt. Use the Mac/Windows toggle to see the right keys for your OS.
How do I install Claude Code?
Run 'npm install -g @anthropic-ai/claude-code' in your terminal. You need Node.js 18+ installed. Then run 'claude' to start an interactive session.
Can I use Claude Code with my own API key?
Yes, set the ANTHROPIC_API_KEY environment variable. Claude Code also works with Anthropic Console authentication, Amazon Bedrock, and Google Vertex AI.