I'm trying to upgrade to PowerShell version 7.5.4, but I'm not sure how to do it. When I visit the release page on GitHub, I get confused about which file to download for Windows and how to properly install it. It feels different than what I've experienced before, so any guidance would be appreciated!
5 Answers
Another quick way to upgrade is to use 'winget upgrade Microsoft.PowerShell'. It streamlines the process if you have winget installed.
If you want a hassle-free experience, go for the PowerShell-7.5.4-win-x64.msi. It's the standard installer that isn't zipped, so it's easy to set up.
Consider using Chocolatey for easier upgrades in the future. You can just run 'choco outdated' to check for outdated packages, then 'choco upgrade packagename -y' to update them.
You'll want to download the file named PowerShell-7.5.4-win-x64.msi. Just run that installer and it should take care of everything for you!
Check out Microsoft's official guide on installing PowerShell for Windows. They have a section on upgrading your existing installation. If it gets tricky, you might want to uninstall first using the command 'winget uninstall Microsoft.PowerShell' and then reinstall it with 'winget install Microsoft.PowerShell'.

Thanks for the help!