Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CMD is recognizing PATH variables but VS Code is not

I'm having a problem where PATH variables are recognized in CMD but once I try to use them in the VS Code terminal they seem to break. Obviously, I've tried restarting my computer and VS Code but I can't get to bottom of this problem. If anyone has some idea of what's going on I'd greatly appreciate it.

Visual Proof of Issue

like image 521
Joseph Marriage Avatar asked Oct 26 '25 15:10

Joseph Marriage


1 Answers

Uh oh, it seems my problem was a quite silly mistake on my part. I had a different value for the User Setting "terminal.integrated.cwd" which was causing VS Code to completely ignore my windows PATH. If you're having the same problem, try edit the user preference "terminal.integrated.cwd" to "".

like image 98
Joseph Marriage Avatar answered Oct 28 '25 03:10

Joseph Marriage