Skip to main content

๐Ÿš€ Main functions

  • Intelligent code generation - quickly generate high-quality code
  • Code Analysis - Deep understanding and analysis of code structure
  • Debugging Assistant - intelligently discover and fix code problems
  • Documentation generation - automatically generate code documentation
  • Command line integration - seamlessly integrates into the development process

๐Ÿ“ฆ Installation steps

1

Install Node.js

Make sure your system has Node.js 18+ installed
2

Install Claude Code

npm install -g @anthropic-ai/claude-code
3

Configure API Key

[Environment]::SetEnvironmentVariable("ANTHROPIC_AUTH_TOKEN", "sk-your-api-key", "User")
[Environment]::SetEnvironmentVariable("ANTHROPIC_BASE_URL", "https://APIๅŸŸๅ", "User")
echo 'export ANTHROPIC_AUTH_TOKEN="sk-your-api-key"' >> ~/.bashrc
echo 'export ANTHROPIC_BASE_URL="https://API domain name"' >> ~/.bashrc
source ~/.bashrc
4

Start using

Enter the project directory
cd your-project-folder
Start Claude Code
claude

๐ŸŽฏ Commonly used commands

  • claude - starts interactive mode
  • claude โ€œtaskโ€ - run a one-time task
  • claude commit - Create a Git commit
  • /help - displays available commands
  • /clear - Clear conversation history
  • /review - Request a code review

๐Ÿ’ก Usage examples

code generation

Please help me write a Python function to calculate the Fibonacci sequence

code review

claude "review this code for potential bugs"

autocommit

claude commit
  • API key configuration: Please replace sk-your-api-key with the actual API key you generated on this site
  • Token group: When creating a token on this site, it is recommended to select โ€œEnterprise Group Official Transfer Groupโ€
  • Network connection: Make sure the network connection is stable, the tool needs to communicate with the API server
  • Project directory: It is recommended to use it in a specific project directory to get better contextual understanding.
๐Ÿ”ง Advanced features
  • IDE integration - supports IDE integration such as Cursor
  • MCP Server - Extended Agent Capabilities
  • CI/CD Integration - Automate the code review process
  • Team Norms - Define team norms through the CLAUDE.md file
Note: This scenario will significantly increase token consumption when used