1. Install and verify
Install Node.js 20 or later and npm, then run:2. Set environment variables
- Windows PowerShell
- macOS / Linux
For the current terminal session:Optionally save them as user environment variables:Newly opened terminals will pick up the saved user environment variables.
3. Launch and test
/auth in the interactive session. You can also test without entering interactive mode:
gemini -m gemini-3-flash-preview to select a model your account supports. The base URL environment variable takes the hostname; the client appends the Gemini API path.
See the Integration overview and FAQ for more help.