r/PowerShell • u/Gloomy-Donut70 • Jun 27 '26
Question How to restore the path variable
So i was downlaoding a new tui app the other day and while putting it's in the PATH variable there was a power outage and from then on whenever I set a variables path using the setx PATH {file path} command it just stops working after a restart (the outage made most of my already installed terminal apps stop working like winget, chocolatey and neovim)
8
Upvotes
View all comments
Show parent comment
4
u/BlackV Jun 27 '26
Put your garbage after the default paths
You seem the have the exe listed in the path that is not normal