Claude CLI Mastery
The interactive guide to building with Claude from the command line
Terminal
$
Choose Your Path
5 Learning Paths
Start from where you are. Each path is self-contained.
▶
Getting Started
I've never used Claude CLI
4 chapters
beginner
⚙
Building Workflows
I want to build multi-step automations
6 chapters
intermediate
⚡
Going to Production
I need this in CI/CD or a SaaS product
4 chapters
advanced
⚠
Security
Can I trust this in production?
4 chapters
advanced
✚
Extending Claude
I want to build on top of Claude
7 chapters
intermediate+
See It In Action
Interactive Showcases
Plan → Review → Execute
Watch Claude plan a refactor, wait for your approval, then execute it. The three-phase workflow that makes autonomous coding safe.
$ claude -p "Refactor auth module" \
--output-format stream-json
■ plan Analyzing auth module...
■ plan Found 3 files to update
■ review Approve changes? [y/n]
■ execute Applying changes...
--output-format stream-json
■ plan Analyzing auth module...
■ plan Found 3 files to update
■ review Approve changes? [y/n]
■ execute Applying changes...
Live Stream Protocol
See NDJSON events flow in real-time. Each line is a typed event — partial text, tool calls, cost updates — parsed and rendered live.
{"type":"start","session_id":"..."}
{"type":"text","content":"Here's"}
{"type":"text","content":" the plan"}
{"type":"tool_use","name":"Write"}
{"type":"result","cost":0.012}
{"type":"text","content":"Here's"}
{"type":"text","content":" the plan"}
{"type":"tool_use","name":"Write"}
{"type":"result","cost":0.012}