Skip to main content

Extending and Contributing to Gemini CLI

1. Start with one package-level goal​

Gemini CLI is easiest to contribute to when you choose one focused change:

GoalFirst place to look
Runtime or command behaviorpackages/
Docs or onboardingdocs/
Validation or toolingtests and config files

2. Why narrow changes matter​

Terminal agents combine UX, model behavior, file access, and shell execution. Small, well-scoped changes are easier to reason about and much safer to review.

3. Best first contributions​

  1. docs clarifications,
  2. auth and setup ergonomics,
  3. better permission messaging,
  4. targeted runtime fixes,
  5. test coverage for common command flows.

4. Think through the full session​

A good patch should improve the real interactive loop, not only a helper function in isolation.

5. Before opening a PR​

Read the project contribution docs, validate the workflow you changed from the terminal, and keep the scope narrow enough that the session behavior is easy to verify.