You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
I’m using Gemini inside VS Code and it currently fails whenever it tries to run shell/terminal commands (examples: yarn, git, etc.). It looks like shell execution is blocked/disabled, or not properly configured.
What I’m trying to do
Enable Gemini to execute terminal commands from within VS Code (or at least let it trigger them reliably), so it can run things like:
yarn install
yarn lint
yarn tsc --noEmit
git status, git diff, etc.
Current behavior
Any command execution attempt results in an error.
(If relevant) It happens even for basic commands like git status.
Questions
Is there an official way to enable/allow shell execution for Gemini in VS Code?
Is this controlled by a setting, permission, policy, or workspace trust in VS Code?
Are there known limitations (e.g., Gemini can’t execute shell commands at all), and what’s the recommended workflow instead?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m using Gemini inside VS Code and it currently fails whenever it tries to run shell/terminal commands (examples:
yarn,git, etc.). It looks like shell execution is blocked/disabled, or not properly configured.What I’m trying to do
Enable Gemini to execute terminal commands from within VS Code (or at least let it trigger them reliably), so it can run things like:
yarn installyarn lintyarn tsc --noEmitgit status,git diff, etc.Current behavior
git status.Questions
Environment
Error message / logs
If this is “by design”, fair enough — but then what’s the best workaround? Because right now Gemini is basically on a “no terminal, no party” diet 😅
Beta Was this translation helpful? Give feedback.
All reactions