Skip to main content

Install

Install Node.js and Claude Code from official.
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo bash -
apt-get install -y nodejs
npm install -g @anthropic-ai/claude-code

Configure

Add the following to ~/.claude/settings.json. Create them if any do not exist.
{
  "permissions": {
    "allow": [],
    "deny": []
  },
  "env": {
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
    "USE_BUILTIN_RIPGREP": "1",
    "ANTHROPIC_AUTH_TOKEN": "change-to-your-api-key",
    "ANTHROPIC_BASE_URL": "https://core.api.hxieon.net/mux"
  }
}

Run

Run Claude Code CLI as usual. All requests will be routed through Revolt.
claude