Claude Code
Powered by Aihubmix, Claude Code ensures a stable connection and eliminates worries about purchasing quotas.
Quick Setup Guide:
1️⃣ Install the npm Package Globally
Run the following command in your terminal:
Example image:
2️⃣ Configure Environment Variables
Go to Aihubmix Keys page to generate your API key, then add this key and the forwarding URL to your system environment variables.
For example, add the following lines to your ~/.zshrc file:
For Mac users, you can reveal the hidden .zshrc file in your home directory by pressing ⌘ + ⇧ + .
. Open it with the system’s “TextEdit” app and add the above lines.
3️⃣ Apply the Configuration
After adding the configuration, run source ~/.zshrc
in your terminal and press Enter to apply the changes.
4️⃣ Launch in Terminal
Navigate to your project directory, for example cd ~/Desktop/my-project
Then type claude
to start and begin using Claude Code.
Initialization Configuration
Authorization
If you see an authorization page, click to jump to the Claude website for confirmation. After successful authorization, return to the terminal to continue.
Launch
After launching, Claude Code will display the current configuration details, including your API Key and API Base URL.
Confirm the prompts by selecting Yes and pressing Enter to complete the setup.
Enjoy coding with Claude!