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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With