Skip to content

Claude Code

Configure Claude Code to connect through ApexOne.

Before installing Claude Code, make sure the following are installed:

  • Node.js 22 or later
  • Git

Install Claude Code globally:

Terminal window
npm install -g @anthropic-ai/claude-code

Verify the installation:

Terminal window
claude --version

If a version number is displayed, Claude Code has been installed successfully.

Claude Code stores its configuration in the .claude directory inside your user home folder.

%USERPROFILE%\.claude

Create the directory if it does not already exist:

mkdir %USERPROFILE%\.claude

Create or edit ~/.claude/settings.json:

~/.claude/settings.json
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "YOUR_API_KEY",
"ANTHROPIC_BASE_URL": "https://api.apex1.us",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
}
}
Variable Description
ANTHROPIC_AUTH_TOKEN Your ApexOne API key
ANTHROPIC_BASE_URL The ApexOne API endpoint (https://api.apex1.us)
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC Disables optional network traffic for better privacy
  1. Launch Claude Code from any project directory:

    Terminal window
    claude
  2. Open the status screen:

    /status

    Confirm that the ApexOne base URL (https://api.apex1.us) is shown as the configured API endpoint.

  3. Send a simple message:

    > hi

    A successful reply confirms your setup:

    Hello! How can I help you today?
Terminal window
npm install -g @anthropic-ai/claude-code@latest