Learning Path
Follow this progressionOne command to install globally
npm install -g @anthropic-ai/claude-code
Navigate to your project and launch
cd your-project && claude
Let Claude learn your project structure
/init
Think before coding. Toggle with Shift+Tab
Shift+Tab → describe what you want → Shift+Tab to execute
Manage context window. /clear resets, /compact summarizes
/compact
Let Claude manage its own memory between sessions
/dream
Install Claude Code
One-line install via npm. Requires Node.js 18+.
npm install -g @anthropic-ai/claude-code
Start a Session
Navigate to your project directory and launch Claude Code.
cd your-project && claude
Initialize CLAUDE.md
Auto-generates a CLAUDE.md with your project's structure, stack, and conventions. Essential first step.
/init
Plan Mode (Shift+Tab)
Toggle between Plan and Execute mode. ALWAYS plan first, then execute. The #1 tip from every expert.
Shift+Tab → describe what you want → Shift+Tab to execute
/clear and /compact
/clear resets the entire conversation. /compact summarizes and compresses context. Use /compact when context gets heavy, /clear for fresh start.
/compact # summarize context /clear # full reset
Enable Auto Dream (/dream)
Claude's built-in memory consolidation. Runs between sessions like REM sleep — prunes stale notes, resolves contradictions, organizes by topic. Replaces manual MEMORY.md management.
/dream
Ultrathink for Hard Problems
Add 'ultrathink' or 'think harder' to your prompt for complex architecture decisions. Uses extended thinking with more tokens.
ultrathink: Design the database schema for a multi-tenant SaaS app with row-level security
Rewind & Fork Sessions
Made a mistake? Rewind to any previous point in the conversation and fork from there. Like git for your chat.
/rewind # go back to a previous state