VNAI Pro
Claude Code

One-command install

Paste your API key, copy the command, run — Claude Code ready on macOS, Linux, Windows

Paste your API key below, pick your operating system, then copy the command and run it in a terminal:

The key is inserted into the command right in your browser — it is never sent anywhere.

curl -fsSL https://docs.vnaipro.app/install/claude.sh | bash -s -- --key YOUR_API_KEY

Paste your key above and the command fills it in automatically.

What does the script do?

  1. Checks for Node.js (guides you through installing it if missing, then stops)
  2. Installs Claude Code: npm install -g @anthropic-ai/claude-code
  3. Backs up any existing settings (as settings.json.bak.<timestamp>)
  4. Writes ~/.claude/settings.json — key + endpoint + the full Claude model lineup
  5. Verifies with claude --version

Safe to re-run

Run the command again any time (for example after rotating your key) — the old settings are always backed up before the new ones are written.

After installing

Open a new terminal, go to your project directory, and run:

Terminal
claude

If something goes wrong, see Troubleshooting.

On this page