7

While working on development tasks or modifying project code in Gemini CLI, I need to provide authorization for certain actions (write local files, search the web, call MCP tools) each time, like:

- Yes, allow once
- Yes, allow always "gcloud ..."
- No (esc)

which becomes rather cumbersome. I'd like to have the Gemini CLI run for a while without clicking Yes, allow once every time. Is there an option?

2
  • 3
    To the closers, Gemini CLI is absolutely about a software tool primarily used by programmers and hence on-topic. Commented Jul 22 at 10:40
  • 1
    Gemini CLI has zero wiki, three questions, two of them are closed. What the question says and shows don't look like programming/software development, and checking what Gemini CLI actually is shows it's some AI app for geeks, nothing specifically about programming/software development. Commented Sep 3 at 19:37

1 Answer 1

18

You can use YOLO mode. If you start gemini with --yolo or hit Ctrl y, you won't be asked for any permissions. Ctrl y toggles it on and off as you need it so you don't have to exit in between.

Documentation here.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.