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 ashttps://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 withnpm:
npx:
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
Basic usage
After installing and authenticating, run: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