export GEMINI_SANDBOX=true

Category: Gemini CLI

export GEMINI_SANDBOX=true

Enable sandbox mode by default for all Gemini CLI sessions

Enables sandbox mode for all Gemini CLI sessions by default via an environment variable.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.