Skip to content

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-cli

Configuration

macOS / Linux

bash
export GEMINI_API_KEY=your_api_key_here

Windows

powershell
$env:GEMINI_API_KEY = "your_api_key_here"

Launch

bash
gemini

Supported Models

  • gemini-2.5-pro
  • gemini-2.5-flash

TIP

Check the NewtCode dashboard for the latest available Gemini models.

Powered by NewtCode