Skip to main content
Arka wraps Google’s official Gemini CLI (@google/gemini-cli) for terminal use alongside built-in Arka skills.

Usage

From fish:

Install

Node.js 18+ required:

Authentication

Either:
  1. Run gemini once and sign in with Google (browser OAuth), or
  2. Set GEMINI_API_KEY in ~/.config/arka/.env (Arka already uses this for built-in LLM calls).

Override binary

How it works

  • Bare prompts are wrapped as gemini --skip-trust -p "<prompt>" for headless use.
  • Flags and subcommands (mcp, extensions, hooks, etc.) pass through unchanged.
  • If gemini is not on PATH, Arka falls back to npx @google/gemini-cli.
The Gemini CLI is separate from Arka’s built-in Gemini provider. Use it for Gemini-specific features (MCP, extensions, hooks) that the native CLI exposes.