PowerShell may take time to respond to your commands or return with errors. At times, PowerShell may also fail to open on your Windows PC. So, if you think that PowerShell is outdated on your device, it’s time to update it to the latest version.

Before you perform the update, it’s essential to check your PowerShell version. Below, we have shared a few simple & working methods to update PowerShell in the Windows operating system. Let’s get started.

1. Install or Update PowerShell with the Winget Command

The easiest way to install or update PowerShell in Windows is by using the Winget Command. Windows Package Manager (Winget) is a command line tool that can install apps on your Windows PC. You can use it to install/update the existing version of PowerShell on your device. Here’s what you need to do.

1. Type in Command Prompt on the Windows 11 Search. Right click on the Command Prompt and select Run as administrator.

Run as administrator

2. When the Command Prompt opens, execute this command and press Enter.

winget search PowerShell

execute this command

3. Now note down the ID associated with the PowerShell app.

PowerShell

4. Once copied, execute this command by replacing AppID with the app ID you’ve just copied.

winget install AppID

winget install AppID

2. Install or Update PowerShell from the GitHub

If you don’t want to use a command line tool to update the PowerShell utility, you have the option to download & install the latest version of PowerShell from Github. Follow some of the simple steps we have shared below to install/update PowerShell from Github.

1. Open your favorite web browser and visit this GitHub page.

2. When the page opens, you will find three different options to download the .msi files (LTS, Stable, Preview).

three different options to download

3. You should download the Stable version. Once you have downloaded the MSI file, double-click it to begin the installation.

4. Go with the default selections on the Optional Actions and click on Next.

Next

5. Now wait until the installation completes.

installation

3. Update PowerShell from the Microsoft Store

If you are using Windows 11, you can install or update the PowerShell utility using the Microsoft Store app. Follow the simple steps below.

1. Type in Microsoft Store on the Windows 11 Search. Next, open the Microsoft Store app from the list of best match results.

Microsoft Store

2. When the Microsoft Store opens, search for PowerShell.

PowerShell

3. If any update is available, you will see the Update button. Click on the Update button to update the PowerShell app.

4. If PowerShell is not installed on your device, you must click the Install button to get it.

Use Both PowerShell 5 and PowerShell 7

If you have followed these steps to install PowerShell on your device, you will have both PowerShell 5 and 7.

Use Both PowerShell 5 and PowerShell 7

PowerShell 7.x is installed in a different location on your device, but both versions remain active. If you are a Terminal user, you will find an additional PowerShell Profile.

This guide explains how to update or install PowerShell on Windows. Please let us know if you need more help updating PowerShell on Windows 11. Also, if you find this guide helpful, please share it with your friends.

LEAVE A REPLY

Please enter your comment!
Please enter your name here