20 Oct 2021

Upgrade PowerShell to the Latest Version

收藏到CSDN网摘

From time to time, the MS PowerShell prompts new version message as long as it was started. An usual way to upgrade would be dive into MS's github repository to download the latest release. Then, a standard installation process can be carried out the deploy the latest version on your system. However, as we are already inside the commandline there is another way of doing the same thing using one line of command. These method requires the package manager 'winget' to be installed in advance. If you have it installed already, simply type the following command in your PowerShell window will download the package and install it for you. Otherwise, please go to Microsft Store to get it.
winget install --id=Microsoft.PowerShell -e

No comments :

Post a Comment