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
If this would be better reported up to the Command Palette repo, let me know.
When PATH is updated by an app (ex: I installed node), the PATH variable used by spawned apps is not updated until Command Palette is restarted.
Chain of events:
Install node using winget in built-in terminal in VSCode
node/npm cannot be run, command not found.
Close VSCode, restart workspace from Command Palette
still not finding extension
Confirm that node runs in a separate, fresh terminal
Exit Command Palette and restart it
node can be called from VSCode terminal as expected
Not sure if this is something that can be fixed on the extension level, or if it's an issue with Command Palette generally. I don't remember this happening with Powertoys Run, but can't say for sure (it's not something that comes up often)
I’m not familiar with this issue, and from the description it sounds like the behavior might be unrelated to this extension.
It may be something at the Command Palette level rather than something we can address here.
Ran into this today and cost me a ton of time to troubleshoot. This affects all envvars, not just PATH. The root cause is that the vscode process when run through this plugin is under a long tree of processes started before you do any environment variable changes (I recommend using sysinternals procmon to see that for yourself). I won't be using this extension anymore, this is unacceptable.
Activity
tanchekwei commentedon Sep 30, 2025
I’m not familiar with this issue, and from the description it sounds like the behavior might be unrelated to this extension.
It may be something at the Command Palette level rather than something we can address here.
PawelAdamczuk commentedon Feb 6, 2026
Ran into this today and cost me a ton of time to troubleshoot. This affects all envvars, not just PATH. The root cause is that the vscode process when run through this plugin is under a long tree of processes started before you do any environment variable changes (I recommend using sysinternals procmon to see that for yourself). I won't be using this extension anymore, this is unacceptable.
tanchekwei commentedon Mar 9, 2026
see microsoft/PowerToys#42306
nWestie commentedon Mar 9, 2026
I'll close this then - that seems to confirm it is an issue at the Command Palette level.
Fix #12: Stale PATH when launching VS Code from Command Palette
Fix #12: Stale PATH when launching Visual Studio from Command Palette
Fix #12: Stale PATH when launching Visual Studio from Command Palette
tanchekwei commentedon Nov 8, 2026
Revisited and fixed this issue.
Visual Studio Code
Visual Studio