@google/gemini-cli) for terminal use alongside built-in Arka skills.
Usage
Install
Node.js 18+ required:Authentication
Either:- Run
geminionce and sign in with Google (browser OAuth), or - Set
GEMINI_API_KEYin~/.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
geminiis not on PATH, Arka falls back tonpx @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.