Gemini CLI
Gemini CLI is Google’s open-source command-line AI tool. It uses natural-language requests to explore code, edit files, and carry out terminal tasks.
Option 1 (recommended): Use NUSI·ONE
- 1Download and install
Install the client from the NUSI·ONE download page. Windows (x64) and macOS 14 or later on Apple silicon are supported.

- 2
- 3Install Gemini CLI
Find Gemini CLI under Tool Installation in settings and follow the prompts.
- 4Open a project and start a conversation
Open a local project or folder, start a conversation with Gemini CLI, select an available model, and send a message.
Option 2: Install and configure Gemini CLI yourself
- 1Install Gemini CLI
Install Node.js LTS, then run in a terminal:
Terminal / PowerShellnpm install -g @google/gemini-cli gemini --version - 2Configure the connection
Create a key on the API keys page, select a model compatible with the protocol, and replace the placeholders. Shell examples use macOS or Linux; in Windows PowerShell use $env:NAME for environment variables.
Gemini native protocol; select a model that supports the Gemini API. Check whether GOOGLE_API_KEY overrides GEMINI_API_KEY.
Terminal (macOS / Linux)export GEMINI_API_KEY="YOUR_NUSI_KEY" export GOOGLE_GEMINI_BASE_URL="https://nusi.si" export GEMINI_MODEL="YOUR_GEMINI_MODEL_ID" geminiChoose your key on the API keys page and replace
YOUR_NUSI_KEYwith it forGEMINI_API_KEY. - 3Open a project and verify
Open a test project and send a message, then check the console usage record. For a 401 or 403, check the key and permissions; if the model is unavailable, check its ID, protocol, and URL.
