Need an API key first?
Create a token in the LumeCoder Console, then come back to finish the setup below.
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
This can happen on Windows with any of the CLIs above (Claude Code, Codex, Gemini) when running a globally-installed npm package. 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 npx startup
If you don't want to modify global policy, use npx directly (replace the package with the CLI you are installing):
npx @anthropic-ai/claude-code # or: npx @openai/codex # or: npx @google/gemini-cli
This avoids changing the global execution policy, but requires npx every time.