How to Install or Update PowerShell on Windows 11
If you're a Windows user who regularly uses PowerShell, you'll want to use the latest version of the tool.
There are several ways to install or update PowerShell on Windows 11. In this article, we will look at all of them.
1. How to Install or Update PowerShell Using the Winget . Command
Windows Package Manager (or Winget) is a command line program that you can use to install applications on Windows. This eliminates the need to search the app on the web and go through the tedious installation process.
Using the Winget command is one of the simplest ways to install or update PowerShell in Windows 11. Here are the steps you can follow.
1. Click the magnifying glass on the taskbar or press Win + S to open the search menu.
2. Type Command Prompt in the search box at the top.
3. Select Run as administrator to open Command Prompt with admin rights.
4. Select Yes when the User Account Control (UAC) prompt appears.
5. Paste the following command into the console and press Enter to see all available versions of the PowerShell application.
winget search PowerShell
6. Record the ID associated with the PowerShell application that you want to receive.
7. Run the following command to install the PowerShell application.
winget install AppID
Replace the AppID in the command above with the actual App ID noted in the last step.
Wait for Winget to download and install PowerShell on your PC and then exit the terminal window. After that, the PowerShell application will be available to use.
The Winget command also allows you to install multiple applications at once.
2. How to Install or Update PowerShell from GitHub
Another way to install or update PowerShell on Windows is to download its installer package from the GitHub website. Here's how you can do it.
1. Open your favorite web browser and navigate to GitHub's PowerShell page.
2. Select the latest PowerShell version from the GitHub page.
3. Scroll down to the Assets section and download the MSI file on your PC.
4. Open the installation package and click Next.
5. Specify the installation directory and click Next.
6. Click Next again.
7. Check the boxes that say Enable updating PowerShell through Microsoft Update or WSUS and Use Microsoft Update when I check for updates . Then click Next.
8. Click the Install button and follow the on-screen instructions to complete the process.
Once you complete the steps above, you should have the latest version of PowerShell at your disposal.
3. How to Install or Update PowerShell Using the Microsoft Store
The PowerShell app is also available on the Microsoft Store. To install or update PowerShell apps using the Microsoft Store, follow these steps:
1. Open the Microsoft Store app on your PC.
2. Use the search bar at the top to find the PowerShell app on the store.
3. Click the Update button to update the PowerShell application. If you don't have the app yet, click the Install button to download it.
If you're having trouble opening Microsoft Store apps on Windows 11, fix the problem so you can update your apps easily.
You should read it
- Next time, Microsoft will release PowerShell updates via Windows Update Windows
- How to check PowerShell version in Windows 10
- Instructions on how to use PowerShell in Windows Server 2012
- Use PowerShell to download any file on Windows 10
- What to do when Windows can't find PowerShell?
- PowerShell command in Windows
- Microsoft urges Admin to patch PowerShell vulnerability on Windows
- How to use PowerShell's default parameter to change the command behavior
May be interested
- Now you can run PowerShell on both Linux and macOSa version of powershell called powershell core 6.0 has just been released by microsoft, running on both macos and linux.
- How are Command Prompt (cmd) and PowerShell different?windows 7 has added powershell, a more powerful command line and script language. since windows 7, powershell has become more prominent, even becoming the default choice in windows 10. how is it different from command prompt?
- How to use PowerShell's default parameter to change the command behaviormany people like to use powershell because it allows them to do things that can't be done with the windows gui. however, it is undeniable that some powershell cmdlets can be tedious or complicated. but what if there is a way to edit these cmdlets and get them to 'behave' the way you want?
- How to add 'Open PowerShell window here as administrator' to the right-click menu on Windows 10windows 10 comes with windows powershell 5.0. windows powershell is a task-based command-line shell and scripting language specifically designed for system administration. this tutorial will show you how to add or remove 'open powershell window here as administrator' on windows 10 right-click menu.
- 10 PowerShell commands help you manage the remote computer most effectivelywindows powershell is a command executive command system and script scripting language that you can use to manage your system. in the following article, network administrator will show you 10 powershell commands to manage your computer remotely effectively.
- What is PowerShell Basic commands in PowerShellwhat is powershell basic commands in powershell. first of all, to understand it briefly, powershell is a command-line interface similar to cmd, it can do everything cmd can do and even more. powershell is gradually becoming the default
- Should I use PowerShell or Command Prompt?for advanced windows users, the command line has long been a powerful tool for managing and interacting with the operating system. but powershell offers enhanced automation and scripting capabilities. so which tool should you use?
- Steps to disable PowerShell in Windows 10if you do not often use powershell, disable and disable powershell to ensure the safety of your computer.
- 9 ways to fix PowerShell errors that suddenly appear on rebootrandomly appearing powershell windows can be quite annoying. but it's even more frustrating not knowing what is causing this problem.
- How to update Win 7, update Windows 7 to the latest versionupdating windows 7 and security patches for windows 7 will help you limit the risk of dangerous malware or ransomware infections such as wannacry.