Skip to content

Claude Code Guide

Claude Code is an AI coding assistant from Anthropic that supports code generation, modification, and review.

Installation

Choose an installation method based on your workflow.

macOS / Linux

bash
curl -fsSL https://claude.ai/install.sh | bash

Windows PowerShell

powershell
irm https://claude.ai/install.ps1 | iex

Windows CMD

Install Git for Windows first, then run:

cmd
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

Connect to GoRouter

After installation, choose one of the following methods to connect Claude Code to GoRouter.

Using CC-Switch is recommended for centralized configuration.

Steps:

  1. Follow Create API Key to generate an API key.
  2. Follow CC-Switch to configure a unified provider.
  3. Restart Claude Code after configuration is complete.