Deploy Gemini CLI
Gemini CLI is Google's command-line AI assistant. You can configure it to work with NewtCode's Gemini-compatible endpoint.
Prerequisites
- Node.js v20+ installed
- A NewtCode account with credits
Installation
bash
npm install -g @anthropic-ai/gemini-cliConfiguration
macOS / Linux
bash
export GEMINI_API_KEY=your_api_key_hereWindows
powershell
$env:GEMINI_API_KEY = "your_api_key_here"Launch
bash
geminiSupported Models
gemini-2.5-progemini-2.5-flash
TIP
Check the NewtCode dashboard for the latest available Gemini models.