Getting startedBeginnersUpdated

Environment Setup

Claude Code, Codex, and Gemini CLI can all be installed through npm. Prepare your environment according to your operating system.


MacOS

bash
brew install node

Linux (Ubuntu/Debian)

bash
sudo apt install nodejs npm

Windows

Step 1: Install Chocolatey

1) Open PowerShell as Administrator.

2) Run the following command and confirm with Y:

powershell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

3) Then run:

powershell
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

4) After installation completes, close PowerShell, reopen it as Administrator, and verify:

powershell
choco --version

Step 2: Install Node.js and Git

powershell
choco install nodejs git -y

Refresh environment variables:

powershell
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")

Verify installation:

powershell
node --version
npm --version
git --version

Optional: Install Common CLI Tools Together

If you plan to use Claude Code, Codex, and Gemini CLI together, install them after Node.js and npm are available:

bash
npm i -g @anthropic-ai/claude-code
npm i -g @openai/codex@latest
npm i -g @google/gemini-cli

Windows users should open a new PowerShell window after installation, then verify:

powershell
claude --version
codex --version
gemini --version