claude) directly in your shell, understands your codebase in context, and helps you write, debug, and refactor code through natural conversation. By pointing Claude Code at Fhddos as its API gateway, you authenticate with your Fhddos token instead of an Anthropic API key — and benefit from Fhddos’s unified billing and model routing.
System Requirements
| Platform | Requirement |
|---|---|
| macOS | 13.0 or later |
| Windows | 10 (build 1809+) or Windows Server 2019+; install Git for Windows or use WSL |
| Linux | Ubuntu 20.04+, Debian 10+, Alpine 3.19+, or equivalent |
| Hardware | 4 GB+ RAM, x64 or ARM64 processor |
Step 1 — Install Claude Code
Choose the installation method that matches your platform:- macOS / Linux / WSL
- Windows (PowerShell)
- Windows (CMD)
- macOS (Homebrew)
- Windows (WinGet)
The native installer supports automatic updates:
Verify the Installation
claude doctor checks that your environment is correctly configured and reports any issues before you connect to the gateway.
Step 2 — Configure Fhddos as the Gateway
Set two environment variables in the same terminal session where you will launchclaude. Claude Code reads these at startup:
- Bash / Zsh
- PowerShell
Make the Configuration Persistent
To avoid re-exporting the variables every session, add them to your shell profile:- Bash (~/.bashrc or ~/.bash_profile)
- Zsh (~/.zshrc)
- PowerShell Profile
Step 3 — Verify the Connection
- Open the Fhddos console and confirm your token is active and has a Claude model route assigned.
- Start
claudeand run the/statuscommand to confirm the base URL and key are loaded. - Send a test message — for example,
"Say hello"— and verify you receive a response.
Troubleshooting
The old npm global package (
npm install -g @anthropic-ai/claude-code) is deprecated. Use one of the native installers above unless you specifically need Node.js 18+ compatibility.claude. User-level or organization-level Claude Code settings files may override shell variables — inspect ~/.claude/settings.json if that applies.
Authentication failure (401)? Some Claude Code versions expect ANTHROPIC_AUTH_TOKEN rather than ANTHROPIC_API_KEY. If you see auth errors, try:
claude:
