Skip to main content
ClaudeCode

Preparation

Claude Code billing method is synchronized with official. For price ratio, please refer to Models & Pricing
settings.json
{
  "env": {
    "ANTHROPIC_AUTH_TOKEN": "Your Login Code",
    "ANTHROPIC_BASE_URL": "https://cc.liaobots.work/claudecode"
  },
  "permissions": {
    "allow": [],
    "deny": []
  }
}

Process

1

Step 1

step-1

Verify Node.js Installation

Open terminal and enter node --version and npm --version to verify Node.js installation If you see a version number like v22.16.0, proceed to the next step. Otherwise, please download from the official website https://nodejs.org/en/download/
2

Step 2

step-2

Install ClaudeCode

Open terminal and enter npm install -g @anthropic-ai/claude-code to install ClaudeCode globally If you see the prompt as shown in the image, it means installation is successful
3

Step 3

step-3

Edit Configuration File

Then run cd ~/.claude and vim settings.json commands in sequence to enter configuration file editing (depending on your operating system, vim might be vi, etc.). Copy and change the above configuration settings and paste them in, then press the Esc key and enter :wq command to save and exit After successful save, ClaudeCode can start working
4

Step 4

step-4

Start ClaudeCode

Use the cd command to enter the project folder you want to edit, enter claude to start ClaudeCode, and then you can start chatting