Choose your operating system and follow the steps to install Claude Code CLI
Visit nodejs.org, download and install the LTS version.
After installation, open CMD and verify:
node --version
Open Command Prompt (CMD) or PowerShell and run:
npm install -g @anthropic-ai/claude-code
claude --version
Visit LumeCoder Console and perform the following:
Important: Replace ANTHROPIC_AUTH_TOKEN below with your API key from LumeCoder Console!
Valid for current session only. Choose based on your terminal:
CMD (Command Prompt):
set ANTHROPIC_AUTH_TOKEN=sk-xxx set ANTHROPIC_BASE_URL=https://api.lumecoder.com claude
PowerShell:
$env:ANTHROPIC_AUTH_TOKEN="sk-xxx" $env:ANTHROPIC_BASE_URL="https://api.lumecoder.com" claude
Note: Quick start, no restart needed. Variables are cleared when terminal closes.
Config path: %USERPROFILE%\.claude\settings.json
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "sk-xxx",
"ANTHROPIC_BASE_URL": "https://api.lumecoder.com"
},
"permissions": {
"allow": [],
"deny": []
}
}Note: Config file is more secure. Restart Claude Code for changes to take effect.
If using settings.json configuration, navigate to your project directory first:
cd your-project-directory
Then, run the following command to start:
claude
If you see this error:
cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies...Method 1 (Recommended): Remove restrictions for current user only
Run in PowerShell (Administrator):
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Method 2: Temporary bypass
If you don't want to modify global policy, use npx directly:
npx @anthropic-ai/claude-code
This bypasses execution policy restrictions but requires npx every time.