Refreshing environment variables
without restarting in PowerShell
Jul 29, 2021
Whenever you add a folder to the PATH environment variable, you need to restart your shell environment to gain access to it.
Or do you?
refreshenv
By typing refreshenv
, you could force PowerShell to get the latest environment variables, and continue your work!
Enjoy!