'$env:PATH different for Windows Powershell and VSCode integrated Powershell
I am using Windows 10.
The result of $env:PATH
is different for Windows Powershell and VSCode integrated Powershell.
I need the VSCode integrated Powershell to have the same path as Windows Powershell, how should I rectify this?
Solution 1:[1]
If you just edited the PATH, try kill the terminal in VSCode and reopen the terminal.
Solution 2:[2]
Changing the user environment variables, reopening the terminal or reloading the window was not enough.
I had to exit and reopen VS Code manually.
This was on version 1.66.2.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Eden |
Solution 2 |