Install Claude Code first
Claude Code is a local CLI. Install Node.js if npm is missing, install Claude Code from Anthropic, then set the CorvusLLM Anthropic base URL and key from the next sections.
| What to install | Official source | Quick check |
|---|---|---|
| Node.js and npm | Node.js download | node --version and npm --version |
| Claude Code | Claude Code install guide | claude --version |
| Optional Git | Git install guide | git --version |
node --version
npm --version
npm install -g @anthropic-ai/claude-code
claude --version Zero-to-working setup
Use this block when you want the shortest reliable path from a clean install to one successful Claude Code request through CorvusLLM.
- Claude Code from the official Claude Code setup guide
- Node.js if you install through npm
Official source: Claude Code setup guide, Node.js download
Set the Anthropic environment variables in the same terminal session that will run claude.
- Set ANTHROPIC_BASE_URL to https://base.corvusllm.com/anthropic
- Set ANTHROPIC_AUTH_TOKEN to your delivered CorvusLLM key
- Set ANTHROPIC_MODEL to claude-opus-4-7
- Run claude from the same terminal after setting variables
- Ask for one short answer before letting it edit a real project
Claude Code opens from the configured terminal and answers one short prompt before project edits are attempted.
| Value | Paste this |
|---|---|
| ANTHROPIC_BASE_URL | https://base.corvusllm.com/anthropic |
| ANTHROPIC_AUTH_TOKEN | YOUR_CORVUSLLM_KEY |
| ANTHROPIC_MODEL | claude-opus-4-7 |
Claude Code uses /anthropic, not /v1. Reopen the terminal if environment variables were set in a different shell.
Environment values
Claude Code reads these values from your shell environment. Set them in the same terminal session before you run claude.
| Variable | What it controls | Value |
|---|---|---|
ANTHROPIC_BASE_URL | Anthropic-native endpoint Claude Code calls | https://base.corvusllm.com/anthropic |
ANTHROPIC_AUTH_TOKEN | Authentication token | Your delivered CorvusLLM key |
ANTHROPIC_MODEL | First model Claude Code should request | claude-opus-4-7 |
PowerShell
$env:ANTHROPIC_BASE_URL="https://base.corvusllm.com/anthropic"
$env:ANTHROPIC_AUTH_TOKEN="YOUR_CORVUSLLM_KEY"
$env:ANTHROPIC_MODEL="claude-opus-4-7"
claude
macOS / Linux
export ANTHROPIC_BASE_URL="https://base.corvusllm.com/anthropic"
export ANTHROPIC_AUTH_TOKEN="YOUR_CORVUSLLM_KEY"
export ANTHROPIC_MODEL="claude-opus-4-7"
claude
Why this page is different from the /v1 pages
Claude Code does not want the OpenAI-compatible base URL. It wants an Anthropic-style gateway and will then call the Anthropic-native message endpoints under the hood.
Best first model
Start with claude-opus-4-7. After the first successful request, you can switch to other Claude slugs from Models & Slugs.