Skip to main content

Overview

Gemini CLI is an AI assistant that runs in your terminal. It is useful for code analysis, file operations, research, and command-line workflows.

Relation to Hubto

The reason is simple: Gemini CLI currently only supports Google sign-in, a Gemini API key, or Vertex AI for authentication. It does not expose a custom provider or custom Base URL setting such as https://api.hubto.ai/v1, so it cannot connect to Hubto directly. If you want a terminal workflow with Hubto, consider Claude Code, OpenCode, or OpenClaw.

Install

Install globally with npm:
npm install -g @google/gemini-cli
Or run it directly with npx:
npx @google/gemini-cli

Authenticate

On first launch, Gemini CLI asks you to choose an authentication method. Common options include:
  • Login with Google
  • Use a Gemini API key
  • Use Vertex AI
If you choose Google login, the browser handles the local auth flow.

Basic usage

After installing and authenticating, run:
gemini
You can ask it to explain files, analyze code, generate content, or manage multi-step terminal tasks.

Tips

  • Use a tool with custom-provider support if you need the Hubto gateway
  • If you only want a Gemini-native terminal assistant, Gemini CLI is the direct path
  • Start with a small task before moving to more complex workflows

Summary

Gemini CLI is a strong terminal AI assistant. It is not a direct Hubto integration target today, so this page is here mainly to help with tool selection. For the official docs, see Gemini CLI.