How to Easily Install and Update PowerShell on Windows 11

If you check your version of PowerShell and realize it’s outdated, you might want to update it, or PowerShell itself might remind you that it’s time to update as well. But how to update PowerShell on Windows 11?

Fortunately, Microsoft makes it easy to update PowerShell or any app you want on Windows 11 and Windows 10 1709 (build 16299) or later. Here’s what you need to do.

Update PowerShell on Windows 11 and Windows 10

The easiest way to update PowerShell is to use the Winget command-line tool. Winget is the Windows Packager Manager, a command-line tool that lets you find, install, update, and configure apps on your PC.

Unlike installing PowerShell on Windows 10, the winget The command-line tool comes with Windows 11 and modern versions of Windows 10 by default as an app installer in the Microsoft Store. App Installer includes a version of the winget command line tool.

Instead of relying on third-party apps like to do the heavy lifting for you, you can just as easily find and install apps with winget. Here’s how to update PowerShell on Windows 11 using winget.

Update PowerShell or any application with winget

There are a couple of things to point out first:

  • During the race winget without administrator privileges, some applications may require elevated privileges to install. When the installer runs, Windows will prompt you for elevated privileges. If you chose not to elevate privileges, the application will not install.
  • During the race winget with administrator privileges, you won’t see any elevated privilege prompts if the application requires it. With this in mind, always be careful when running a command as an administrator and only install trusted applications.

1. To install PowerShell, or any application for that matter, you can use the following command:

winget search . In this example we use winget search PowerShell to find the correct PowerShell application to install. As you can see, several “PowerShell” applications are available. I want to install the first entry that appears at the top.

2. Type (or copy and paste) the following command and press Walk in:

winget install 9MZ1SNWT0N5D

3. Once you press Walk in, winget will install the application ID you specify. Keep in mind that you may need to confirm one or two prompts to proceed with installing the app.

powershell on windows 11

Once the app is installed, you can close the PowerShell window when you’re done. Otherwise you can use winget to search and install more apps.

Share this post:

Comments are closed.