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

Before configuring, clear these environment variables. They take priority over the settings file and override the MiniMax configuration:
If ~/.bashrc or ~/.zshrc exports them, remove those lines too, or new shells will load them again.
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 MiniMax CLI for command options and backup behavior.
To add web search, see 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.
  • /model should show the active model as MiniMax-M3.1-Flash-Preview.
MiniMax-M3.1-Flash-Preview always enables thinking and cannot turn it off.