Most CLI clients (Codex, Claude Code, Gemini CLI) require Node.js. Install an LTS release (18 or 20).
1. Download the LTS installer from nodejs.org and follow the wizard.
2. Verify in a terminal:
node -v
npm -v
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
nvm install 20
nvm use 20
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs