Skip to content

Gemini CLI Installation Guide

Prerequisites

  • Gemini CLI installed
  • Network access to GitHub

Installation Steps

One-Command Install

bash
gemini extensions install https://github.com/obra/superpowers

Verify Installation

Start a new session and ask:

What superpowers do you have?

If Gemini can list skills and explain how to use them, installation was successful.

Configuration File Locations

  • Extension config: ~/.gemini/extensions/superpowers/
  • Context file: ~/.gemini/extensions/superpowers/GEMINI.md

Updating

bash
gemini extensions update superpowers

Tool Mapping

Superpowers skills use Claude Code tool names. Gemini CLI automatically maps them:

Skill ReferenceGemini CLI Equivalent
Readread_file
Writewrite_file
Editreplace
Bashrun_shell_command
Grepgrep_search
Globglob
TodoWritewrite_todos
Skillactivate_skill
WebSearchgoogle_web_search
WebFetchweb_fetch

Subagent Limitation

Gemini CLI has no subagent capability (equivalent to Claude Code's Task tool). Skills that rely on subagents (subagent-driven-development, dispatching-parallel-agents) will fall back to single-session execution using executing-plans.

Gemini-Exclusive Tools

Gemini CLI has tools not available in Claude Code:

ToolPurpose
list_directoryList files and subdirectories
save_memoryPersist facts to GEMINI.md across sessions
ask_userRequest structured input from user
tracker_create_taskRich task management
enter_plan_mode / exit_plan_modeSwitch to read-only research mode

Troubleshooting

Skills not working after installation

Make sure you're in a new session. Gemini CLI needs to restart to load new extensions.

Extension installation fails

Check your network connection and ensure you can access GitHub. If using a proxy, configure the HTTP_PROXY environment variable.

Cannot use subagent skills

This is expected. Gemini CLI doesn't support subagents. Related skills automatically fall back to single-session execution.

Uninstalling

bash
gemini extensions uninstall superpowers