How to Update PowerShell on Windows 11 or 10?


Windows PowerShell is a graphical user interface that can access various services of an operating system as an administrator using command lines. There have been several versions of Windows PowerShell since its release, including PowerShell 1.0, PowerShell 2.0, PowerShell 3.0, PowerShell 4.0, PowerShell 5.0, PowerShell 5.1, PowerShell Core 6, PowerShell 7, and PowerShell 7.2.

According to the official information from Microsoft, the latest version of PowerShell was upgraded to V7.2.5 on June 21, 2022. Well, the PowerShell Preview v7.3.0 was also released in 2022. PowerShell 7.2 is the latest current version for Windows 10/11. To give you an intuitive understanding, here we summarize the most commonly used PowerShell versions that support different Windows OS:

Here, Winget allows you to download and install some programs from a centralized repository of programs rather than having to hunt an installer manually. On Windows 11 or 10, you can use this command line tool to upgrade your Windows PowerShell quickly.

This risewindows article will guide you on downloading the updated PowerShell version.

How to Install the Latest Version of Windows PowerShell using Winget Tool?

To download and install the latest update of Windows PowerShell through Winget, follow these steps:-

Step 1. First, start an elevated PowerShell window.

Step 2. Now, type or copy and paste the following command to download and install the latest PowerShell version from Microsoft’s GitHub repository:-

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

Step 3. Then, the above command downloads and installs the latest stable PowerShell release from the GitHub repository. To get a preview version of PowerShell, use this command instead:-

winget install --id Microsoft.PowerShell.Preview --source winget

After that, the installation of PowerShell 7.x will not wholly replace the structure of PowerShell 5.x on your system. Instead, PowerShell 7.x is installed in a separate location, and both versions of PowerShell are usable.

Once you install PowerShell 7.x, you will find that an additional PowerShell profile is available when you launch the Terminal app.

So, you can select the new or old PowerShell version at any time by clicking the little chevron (a tiny down arrow) at the top of the Terminal window.

However, when you search for PowerShell in the Start menu, you’ll find two entries. You can open any of them according to your needs.

How to Install the Latest Version of Windows PowerShell from GitHub?

Here’s how to install PowerShell directly from GitHub:-

Step 1. First, open the GitHub PowerShell page.

Step 2. Now, select a stable or preview version of PowerShell.

Step 3. Then, download the .msi file on your PC.

Step 4. After that. Double-click on the downloaded file to open the installer.

Step 5. Next, click the Next button.

Step 6. Then, if required, change the installation folder.

Step 7. Again, click the Next button.

Step 8. If you want to integrate into context menus, check the “Add ‘Open here’ context menus to Explorer” and the “Add ‘Run with PowerShell 7’ context menu for PowerShell files” checkboxes.

Step 9. Again, click Next.

Step 10. Then again, Click Next.

Step 11. After that, Click Install.

Step 12. Finally, click Finish.

How to Install Latest PowerShell using Microsoft Store?

To install the latest PowerShell from the Microsoft Store, follow these steps:-

Step 1. First, click on this Microsoft link.

Step 2. Click the Get in Store app button.

Step 3. Then, click the Open Microsoft Store button to launch Microsoft Store.

Step 4. After that, in the “Microsoft Store,” click the Get button.

Step 5. Finally. Microsoft will now download and install the most recent version of PowerShell.

That’s it for the article.

I hope this post will be informative to you.

Good luck & stay healthy, guys.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.