Quick Start
Last Update: 7/13/2025
Learn about Claude Code, Anthropic's agentic coding tool that lives in your terminal and helps you turn ideas into code faster than ever before.
Get started in 30 seconds
Prerequisites: Node.js 18 or newer
# Install Claude Code
npm install -g @anthropic-ai/claude-code
# Navigate to your project
cd your-awesome-project
# Start coding with Claude
claude
Setting up Claude Code
设置全局变量:vim ~/.claude/settings.json
{
"env": {
// ⚠️ 重要:请使用 llmprovider.ai 的 API Key
// 🔗 获取地址:https://llmprovider.ai/dash/token
"ANTHROPIC_API_KEY": "sk-1B8p5FCzv90SRB",
"ANTHROPIC_BASE_URL": "https://platform.llmprovider.ai",
"CLAUDE_CODE_MAX_OUTPUT_TOKENS": 64000,
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": 1,
"CLAUDE_MODEL": "claude-sonnet-4-20250514"
},
"permissions": {
"allow": [],
"deny": []
}
}
注意:原封不动支持官方格式调用.
That's it! You're ready to start coding with Claude. Continue with Quickstart (5 mins) →
(Got specific setup needs or hit issues? See advanced setup or troubleshooting.)
What Claude Code does for you
- Build features from descriptions: Tell Claude what you want to build in plain English. It will make a plan, write the code, and ensure it works.
- Debug and fix issues: Describe a bug or paste an error message. Claude Code will analyze your codebase, identify the problem, and implement a fix.
- Navigate any codebase: Ask anything about your team's codebase, and get a thoughtful answer back. Claude Code maintains awareness of your entire project structure, can find up-to-date information from the web, and with MCP can pull from external datasources like Google Drive, Figma, and Slack.
- Automate tedious tasks: Fix fiddly lint issues, resolve merge conflicts, and write release notes. Do all this in a single command from your developer machines, or automatically in CI.
Why developers love Claude Code
- Works in your terminal: Not another chat window. Not another IDE. Claude Code meets you where you already work, with the tools you already love.
- Takes action: Claude Code can directly edit files, run commands, and create commits. Need more? MCP lets Claude read your design docs in Google Drive, update your tickets in Jira, or use your custom developer tooling.
- Unix philosophy: Claude Code is composable and scriptable.
tail -f app.log | claude -p "Slack me if you see any anomalies appear in this log stream"
works. Your CI can runclaude -p "If there are new text strings, translate them into French and raise a PR for @lang-fr-team to review"
. - Enterprise-ready: Use Anthropic's API, or host on AWS or GCP. Enterprise-grade security, privacy, and compliance is built-in.