Home Upgrade Powershell from Powershell
Post
Cancel

Upgrade Powershell from Powershell


“Without change something sleeps inside us, and seldom awakens. The sleeper must awaken.
- Frank Herbert, Dune


1-Liner to Upgrade Powershell

Upgrade Powershell from within Powershell:

winget install --id Microsoft.Powershell --source winget

If you get a newer version message:

winget install --id Microsoft.Powershell --source winget --force

This post is licensed under CC BY 4.0 by the author.