Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to automatically accept suggestions in Gemini CLI without accepting every time? [closed]

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?

like image 883
Luke Schlangen Avatar asked Oct 23 '25 15:10

Luke Schlangen


1 Answers

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.

like image 78
user835611 Avatar answered Oct 26 '25 04:10

user835611



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!