Deployment Guide
Claude Code Deployment Guide
Provide the installation, configuration, and integration workflow for Claude Code, with support for using APIshop as the backend provider.
| 资源 | 地址 |
|---|---|
| Claude Code Official Documentation | https://code.claude.com/docs |
核心能力
- Support skipping the initial Claude Code setup check
- Command-line deployment compatible with Windows / macOS / Linux
步骤 1
Install Claude Code
- - Prefer the official installation method or install via a package manager.
- - After installation, confirm in the terminal that `claude --version` works.
步骤 2
Configure APIshop environment variables
- - Set `ANTHROPIC_AUTH_TOKEN` to your API Key.
- - Set `ANTHROPIC_BASE_URL=https://apishop.ai`.
- - After saving, restart the terminal to apply the environment variables.
步骤 3
Skip the initial setup
- - If you encounter an initialization error on first launch, you can mark onboarding as completed in `~/.claude.json`.
- - You can also handle this using CC-Switch’s “Skip initial installation confirmation” feature.
步骤 4
Get started
- - Run `claude` in the project directory to start.
- - Check whether APIshop is accessible and can complete a conversation.
注意事项
- - Claude Code token bundles cannot be mixed with those of other CLI tools.
- - If you encounter a connection error, first check whether the network, Base URL, and Key are correct.