Gemini CLIconfigurationbuilt-in

/permissions

Manage folder trust settings. Trust a path so Gemini can operate there without per-action prompts.

Syntax

/permissions trust [path]

Example

/permissions trust ./src

When to use

  • Trusting a directory to reduce permission prompts
  • Setting up a safe working boundary for the agent

More Gemini CLI commands