Claude Code Tutorial: Complete Chinese Guide to Anthropic's Terminal AI Coding Tool (2026)
After Anthropic quietly released Claude Code in early 2026, it quickly became the hottest AI coding tool among developers. However, many Chinese users have hit entry barriersโthe official website only offers English documentation, terminal operations feel unfamiliar, users don't know what it can do, or how to configure it. This comprehensive Chinese tutorial helps you get started with Claude Code from scratch.
💡 What You Will Learn
After Anthropic quietly released Claude Code in early 2026, it quickly became the hottest AI coding tool among developers. However, many Chinese users have hit entry barriersโthe official website only
📜 Table of Contents
Claude Code What Is
| Claude Code | GitHub Copilot | Cursor | |
|---|---|---|---|
| --- |
Installation
# Installation/Setup
npm install -g @anthropic-ai/claude-code
# Installation/Setup
claude --version
Configuration API Key
#
export ANTHROPIC_API_KEY=sk-ant-xxxxxxxxxxxx
# Configuration
claude config set apiKey sk-ant-xxxxxxxxxxxx
# Auto/Automatic
claude
cd your-project
claude
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ Claude Code โ
โ Scanning project structure... โ
โ Detected: Python, JavaScript, ... โ
โ Ready โ ask me anything! โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
|:----|:----|:-----|
> Explain what src/services/auth.ts does
> userRoutes.js Error handling
> utils/format.js formatDate
> npm test
> api/ callback async/await
> models/ TypeScript
# .github/workflows/claude-review.yml
name: Claude Code Review
on: [pull_request]
jobs:
review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Claude Code Review
run: |
npm install -g @anthropic-ai/claude-code
echo "PR" | claude --review
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
# Claude Code
##
- 2
- camelCase
- PascalCase
- TypeScript
## Testing
- Testing
- Vitest
- > 80%
##
- API src/routes/
- src/models/
- src/utils/
|:----|:--------|:--------|:--------------:| | Claude 4 Sonnet | $3/M tokens | $15/M tokens | $0.02-0.10 | | Claude 4 Opus | $15/M tokens | $75/M tokens | $0.10-0.50 | | Claude 4 Haiku | $0.25/M tokens | $1.25/M tokens | $0.005-0.02 |
$ claude
> Python CSV JSON
# UTF-8
export LANG=zh_CN.UTF-8
export LC_ALL=zh_CN.UTF-8
---
Summary
Written by our editorial team; tools listed here are tested or verified against public sources. Links point to official sites or GitHub repos for reference only โ no paid placements.
