Refreshing environment variables

without restarting in PowerShell

Ikechi Michael
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!

--

--

Ikechi Michael

I’ve learned I don’t know anything. I've also learned that people will pay for what I know. Maybe that's why they never pay.