How to Install or Update PowerShell on Windows 11
PowerShell is a really useful tool once you get the hang of it. Here’s how to get it or upgrade if you already have it.
Windows PowerShell is a command line tool developed by Microsoft that allows you to automate everyday tasks on your system. If you’re an avid Windows user who uses PowerShell regularly, you should be using the latest version of the tool.
There are several ways to install or update PowerShell on Windows 11. In this article we take a look at all of them.
1. How to install or update PowerShell with Winget command
The Windows Package Manager (or Winget) is a command line utility that you can use to install apps on Windows. This eliminates the need to search the app on the web and go through the lengthy installation process.
Using the Winget command is one of the easiest ways to install or update PowerShell in Windows 11. Here are the steps you can follow.
- Click on the magnifying glass in the taskbar or press victory + S to open the search menu.
- Type command prompt in the search box above.
- Choose Execute as administrator to open the command prompt with administrator rights.
- Choose Yes when the User Account Control (UAC) prompt appears.
- Paste the following command into the console and press Enter to view all available versions of the PowerShell app.
winget search PowerShell
- Make a note of the I WOULD associated with the PowerShell app you want to get.
- Run the following command to install the PowerShell app.
winget install AppID
Substitute AppID in the above command with the actual app I WOULD noted in the last step.
Wait for Winget to download and install PowerShell on your PC, then close the terminal window. After that, the PowerShell app should be available for use.
Conveniently, you can also install multiple apps at once using the Winget command. If you want to learn how, read our guide on how to batch install multiple software packages in Windows 11.
2. How to install or update PowerShell from GitHub
Another way to install or update PowerShell on Windows is to download the installation package from the GitHub website. Here’s how you can do it.
- Open your favorite web browser and navigate to GitHub’s PowerShell page.
- On the GitHub page, select the latest PowerShell version.
- Scroll down financial assets section and download the MSI file to your PC.
- Open the installation package and click Next.
- Specify the installation folder and click Next.
- click Next again.
- Tick the boxes that read Enable updating PowerShell via Microsoft Update or WSUS and Use Microsoft Update when I check for updates. Then click Next.
- press the To install button and follow the on-screen instructions to complete the process.
And that was about it. Once you’ve followed the steps above, you’ll have the latest version of PowerShell.
3. How to install or update PowerShell from Microsoft Store
The PowerShell app is also available in the Microsoft Store. Follow these steps to install or update the PowerShell app from the Microsoft Store:
- open that Microsoft store app on your pc.
- Use the search bar above to find the PowerShell app in the store.
- press the To update Button to update the PowerShell app. If you don’t have the app, click To install button to get it.
If you’re having trouble opening the Microsoft Store app on your Windows 11, fix the problem so you can update your apps easily.
Automate your tasks with PowerShell
If you’re using the latest version of PowerShell, you should get access to the latest features. You can use any method to install or update PowerShell on Windows 11.
Now that you have the latest version of PowerShell, why not learn some alternative ways to open it on your Windows PC?