Installation and access
Prepare your environment, authorize your terminal and keep Celo CLI up to date.
Environment requirements
Use Node.js 18.17 or later and npm. A supported LTS release is recommended. API access requires an internet connection and an authorized account.
Terminal
node --version
npm --versionInstall or update
Terminal
npm install -g @celoiaio/cli@latest
celo --versionFor npm permission errors, prefer a Node.js version manager or a user-owned global npm directory. Do not blindly run installation commands as administrator.
Authorize your terminal
Terminal
celo login
celo whoamiApprove the device code in your browser. The terminal receives an API key. whoami shows your account, plan, balance and available model count. Manage or revoke the terminal key in Settings › OpenCode / API.
Login over SSH
Disable automatic browser opening and visit the displayed URL on a trusted device.
Terminal
CELO_NO_BROWSER=1 celo loginWindows PowerShell
$env:CELO_NO_BROWSER = "1"
celo login
Remove-Item Env:CELO_NO_BROWSERSign out or uninstall
Terminal
celo logoutSigning out is not key revocation. Revoke the key in your account if you need to invalidate it.
Terminal
npm uninstall -g @celoiaio/cliUninstalling does not automatically delete local history in ~/.celo/sessions. Review it separately when retiring a computer.