Skip to main content
Claude Code is Anthropic’s official terminal-native coding agent powered by Claude.

Install Claude Code

You can skip this section when using the one-click setup wizard below. If it cannot find the claude command, it offers to run the official Claude Code installer. Refer to the Claude Code documentation for installation.

Configure MiniMax API

Important: Clear Anthropic Environment Variables Before ConfigurationBefore configuring, ensure you clear the following Anthropic-related environment variables to avoid conflicts with MiniMax API:
  • ANTHROPIC_AUTH_TOKEN
  • ANTHROPIC_BASE_URL
If you previously exported these in ~/.bashrc or ~/.zshrc, also remove the export lines there to prevent re-export in new shells.
Run:
Select Claude Code. If it is missing, keep Claude Code selected in the second multi-select. The wizard runs the official installer, checks claude --version, updates ~/.claude/settings.json, and adds the MiniMax model list.See One-click setup wizard for command options and backup behavior.
Important Note:After completing the configuration, if you also want to enable Web Search capability, you will need to follow this tutorial to configure the Web Search MCP.

Verify the Configuration

After starting claude, run the following slash commands inside the TUI to confirm Claude Code is using MiniMax instead of the default Claude provider:
  • /status should show the ANTHROPIC_BASE_URL pointing to api.minimax.io/anthropic (or api.minimax.cn/anthropic for users in China).
  • /model should show the active model as MiniMax-M3.
MiniMax-M3 supports Claude Code’s extended thinking, which is on by default. To turn it on or off, run /config and set Thinking mode to true or false. You can also toggle it anytime with Option+T (macOS) or Alt+T (Windows/Linux).