Client Setup
Environment Check
Confirm Node.js and npm before configuring a CLI
Claude Code, Codex CLI, and Gemini CLI depend on Node.js.
Run these commands in a terminal:
node -v
npm -vIf both commands print a version, the basic requirement is met. If a command is not found, install the LTS release of Node.js and make sure it is on your PATH.
Optional check:
npm list -g --depth=0When the environment is incomplete, CLI installation errors are much harder to diagnose. Finish this check first.