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
0
u/Gloomy-Donut70 Jun 27 '26
C:\Program Files\ImageMagick-7.1.2-Q16-HDRI
C:\Program Files (x86)\oh-my-posh\bin\
C:\Program Files\glzr.io\GlazeWM\\cli
C:\Python313\Scripts\
C:\Python313\
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\ProgramData\chocolatey\bin
C:\Program Files\dotnet\
C:\tools\Manim\Scripts
C:\Program Files\Microsoft VS Code\bin
C:\Program Files\nodejs\
C:\Program Files\WezTerm
C:\Program Files\Git\cmd
C:\Program Files\Git\usr\bin
C:\Program Files\PowerToys\DSCModules\
C:\Program Files\PowerShell\7\
C:\Program Files\YASB\
C:\tools\neovim\nvim-win64\bin\nvim.exe
and thankyou for the fix
(i just set neovim, glaze and yasb