Skip to main content
This guide is for using Claude Code in a terminal. If you are not comfortable with command-line tools, download the Claude desktop app from the Claude website and follow the CC Switch guide.

1. Install Claude Code from scratch

Claude Code is an AI coding assistant that runs inside your terminal. If Claude Code is already installed, skip to the next section.

Download and install

Install Node.js before installing Claude Code, so the package can download and run correctly.
  • Download and install Node.js (version 18 or newer).
Image 1: Node.js download page After installation, you do not need to open Node.js separately. Image 2: Git for Windows download page After installation, you do not need to open Git separately. After the prerequisites are installed, open your terminal. On macOS, search for Terminal in Applications and open it. On Windows 11, press Win + S, search for Terminal, and open it. On Windows 10, press Win + S, search for Terminal, then open Command Prompt. Copy and run the command below: bash
After installation, run: bash
If a version such as x.x.xxx (Claude Code) appears, Claude Code is installed successfully.

Configure environment variables

For Linux and macOS, write the following variables into your shell config file. The script detects zsh or bash automatically. Create your API key in the Syon dashboard. bash
For Windows, run the following commands in PowerShell. They use setx to write user-level environment variables permanently. Reopen the terminal after running them. powershell

Launch Claude Code

In PowerShell or your terminal, run: bash
Image 3: Claude Code launch example

2. Connect to Syon

If Claude Code is already installed, update the environment variables below. Create your API key in the Syon dashboard. For Linux and macOS: bash
For Windows PowerShell: powershell
After configuration, reopen your terminal and run: bash