11---
22description : How to install PowerShell on Windows
3- ms.date : 04/21 /2026
3+ ms.date : 04/22 /2026
44title : Install PowerShell 7 on Windows
55---
66# Install PowerShell 7 on Windows
@@ -12,7 +12,7 @@ Windows PowerShell 5.1. For more information, see [PowerShell 7 module compatibi
1212
1313There are multiple package versions of PowerShell 7 that can be installed. This article focuses on
1414installing the latest stable release package. For more information about the package versions, see
15- the [ PowerShell Support Lifecycle] [ 26 ] article.
15+ the [ PowerShell Support Lifecycle] [ 25 ] article.
1616
1717## Choose an installation method
1818
@@ -21,13 +21,12 @@ different scenarios and workflows. Choose the method that best suits your needs.
2121
2222- [ WinGet] [ 11 ] - Recommended way to install PowerShell on Windows clients
2323- [ MSI package] [ 09 ] - Best choice for Windows Servers and enterprise deployment scenarios
24- - [ ZIP package] [ 12 ] - Easiest way to _ side load_ or install multiple versions
25- - Use this method for Windows Nano Server, Windows IoT, and Arm-based systems
24+ - [ MSIX package] [ 10 ] - An easy way to install for casual users of PowerShell but has limitations
25+ - [ ZIP package] [ 12 ] - Easiest way to _ side load_ or install multiple versions or install on Windows
26+ Server Core, Windows IoT, and Arm-based systems
2627- [ .NET Global tool] [ 08 ] - A good choice for .NET developers that install and use other global tools
27- - [ Microsoft Store package] [ 10 ] - An easy way to install for casual users of PowerShell but has
28- limitations
2928
30- ### Install PowerShell using WinGet (recommended)
29+ ### Install PowerShell using WinGet
3130
3231<a id =" winget " ></a >WinGet, the Windows Package Manager, is a command-line tool that enables you to
3332discover, install, upgrade, remove, and configure applications on Windows client computers. This
@@ -55,20 +54,30 @@ Name Id Version Source
5554PowerShell Microsoft.PowerShell 7.6.1.0 winget
5655```
5756
58- Install PowerShell 7:
57+ Beginning with the winget package for PowerShell 7.6.0, winget installs the MSIX package by default.
58+
59+ Install the PowerShell 7 MSIX package:
5960
6061``` powershell
6162winget install --id Microsoft.PowerShell --source winget
6263```
6364
64- If you want to install PowerShell 7 Preview, use the following command :
65+ Use the following command to install the PowerShell 7 MSI package :
6566
6667``` powershell
67- winget install --id Microsoft.PowerShell.Preview --source winget
68+ winget install --id Microsoft.PowerShell --source winget --installer-type wix
6869```
6970
70- > [ !NOTE]
71- > On systems using the Arm64 processor, ` winget ` installs the Microsoft Store (MSIX) package.
71+ Alternatively, you can manually download and install the [ MSI package] [ 09 ] .
72+
73+ Beginning with the winget package for PowerShell 7.7.0-preview.1, there is no MSI package available.
74+ WinGet only installs the MSIX package.
75+
76+ Use the following command to install PowerShell 7.7-preview packages:
77+
78+ ``` powershell
79+ winget install --id Microsoft.PowerShell.Preview --source winget
80+ ```
7281
7382### Install the MSI package
7483
@@ -77,19 +86,12 @@ package from GitHub.
7786
7887Latest stable release:
7988
80- - [ PowerShell-7.6.1-win-x64.msi] [ 15 ]
81- - [ PowerShell-7.6.1-win-arm64.msi] [ 13 ]
82-
83- <!-- Update the links below to the latest preview release when available.
84- Latest Preview release:
85-
86- - [PowerShell-7.6.1-rc.1-win-x64.msi][20]
87- - [PowerShell-7.6.1-rc.1-win-arm64.msi][19]
88- -->
89+ - [ PowerShell-7.6.1-win-x64.msi] [ 17 ]
90+ - [ PowerShell-7.6.1-win-arm64.msi] [ 15 ]
8991
9092Once downloaded, double-click the installer file and follow the prompts.
9193
92- ### Install the MSI package from the command line
94+ ### Install the MSI package with command- line options
9395
9496MSI packages can be installed from the command line allowing administrators to deploy packages
9597without user interaction. The MSI package includes the following properties to control the
@@ -128,18 +130,29 @@ installation options:
128130The following example shows how to silently install PowerShell with all the install options enabled.
129131
130132``` powershell
131- msiexec.exe /package PowerShell-7.6.1-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1 ADD_PATH=1
133+ $msiParams = @(
134+ '/package PowerShell-7.6.1-win-x64.msi'
135+ '/quiet'
136+ 'ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1'
137+ 'ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1'
138+ 'ENABLE_PSREMOTING=1'
139+ 'REGISTER_MANIFEST=1'
140+ 'USE_MU=1'
141+ 'ENABLE_MU=1'
142+ 'ADD_PATH=1'
143+ )
144+ msiexec.exe @msiParams
132145```
133146
134147For a full list of command-line options for ` Msiexec.exe ` , see [ Command line options] [ 05 ] .
135148
136- ### Install from the ZIP package
149+ ### Install the ZIP package
137150
138151<a id =" zip " ></a >PowerShell binary ZIP archives are provided to enable advanced deployment scenarios.
139- Download one of the following ZIP archives from the [ current release] [ 22 ] page.
152+ Download one of the following ZIP archives from the [ current release] [ 21 ] page.
140153
141- - [ PowerShell-7.6.1-win-x64.zip] [ 16 ]
142- - [ PowerShell-7.6.1-win-arm64.zip] [ 14 ]
154+ - [ PowerShell-7.6.1-win-x64.zip] [ 18 ]
155+ - [ PowerShell-7.6.1-win-arm64.zip] [ 16 ]
143156
144157Depending on how you download the file you may need to unblock the file using the ` Unblock-File `
145158cmdlet. Unzip the contents to the location of your choice and run ` pwsh.exe ` from there. Unlike
@@ -165,18 +178,31 @@ The dotnet tool installer adds `$HOME\.dotnet\tools` to your `$Env:PATH` environ
165178However, the currently running shell doesn't have the updated ` $Env:PATH ` . You can start PowerShell
166179from a new shell by typing ` pwsh ` .
167180
168- ### Install from the Microsoft Store
181+ ### Install the MSIX package
169182
170- <a id =" msstore " ></a >PowerShell can be installed from the Microsoft Store. You can find the
171- PowerShell release in the [ Microsoft Store ] [ 23 ] site or in the Store application in Windows .
183+ <a id =" msstore " ></a >PowerShell can be installed from the [ Microsoft Store] [ 22 ] or by manually
184+ downloading the MSIX package .
172185
173186Benefits of the Microsoft Store package:
174187
175188- Automatic updates built right into Windows
176189- Integrates with other software distribution mechanisms like Intune and Configuration Manager
177190- Can install on Windows systems using x64 or Arm64 processors
178191
179- #### Limitations of a Store-based installation
192+ To manually install the MSIX package, download one of the following packages from the GitHub
193+ releases page and double-click the file to install it.
194+
195+ - Latest LTS - [ PowerShell-7.6.1.msixbundle] [ 19 ]
196+ - Latest stable - [ PowerShell-7.5.6.msixbundle] [ 14 ]
197+ - Previous LTS - [ PowerShell-7.4.15.msixbundle] [ 13 ]
198+
199+ Alternatively, you can use the following command to install the MSIX package from the command line:
200+
201+ ``` powershell
202+ Add-AppxPackage -Path ".\PowerShell-7.6.1.msixbundle"
203+ ```
204+
205+ #### Limitations of a MSIX-based installation
180206
181207Store-based installations are installed for a single user. There is no option to install it for all
182208users. By default, Microsoft Store packages run in an application sandbox that virtualizes access to
@@ -224,7 +250,7 @@ to your `$Env:PATH` environment variable.
224250The following screenshot shows multiple versions of PowerShell in the Start Menu. Select the item
225251labeled ** PowerShell 7** .
226252
227- ![ PowerShell in the Start Menu.] [ 24 ]
253+ ![ PowerShell in the Start Menu.] [ 23 ]
228254
229255The selected entry is for PowerShell 7. Preview versions of PowerShell 7 install side-by-side with
230256stable versions. Select the item labeled ** PowerShell 7-preview** to start the preview version.
@@ -240,7 +266,7 @@ PowerShell 7 supports updates through Microsoft Update. When you enable this fea
240266the latest PowerShell 7 updates in your traditional Microsoft Update (MU) management flow, whether
241267that's with Windows Update for Business, WSUS, Microsoft Endpoint Configuration Manager, or the
242268interactive MU dialog in ** Settings** . For more information, see the
243- [ PowerShell Microsoft Update FAQ] [ 25 ] .
269+ [ PowerShell Microsoft Update FAQ] [ 24 ] .
244270
245271If you want to upgrade to the latest version of PowerShell 7 before it's available through Microsoft
246272Update, you should use the same install method you used when you first installed PowerShell. Newer
@@ -252,15 +278,13 @@ If you aren't sure how PowerShell was installed, you can check the value of the
252278which always points to the directory containing PowerShell that the current session is running.
253279
254280- If the value is ` $HOME\.dotnet\tools ` , PowerShell was installed with the [ .NET Global tool] [ 08 ] .
255- - If the value is ` $Env:ProgramFiles\PowerShell\7 ` , PowerShell was installed as an [ MSI package] [ 09 ]
256- or with [ WinGet] [ 11 ] on a computer with an x64 processor.
257- - If the value starts with ` $Env:ProgramFiles\WindowsApps\ ` , PowerShell was installed as a
258- [ Microsoft Store package] [ 10 ] or with [ WinGet] [ 11 ] on computer with an ARM processor.
281+ - If the value is ` $Env:ProgramFiles\PowerShell\7 ` , PowerShell was probably installed using the
282+ [ MSI package] [ 09 ] . You can verify this by looking for PowerShell in the ** Programs and Features**
283+ Control Panel.
284+ - If the value starts with ` $Env:ProgramFiles\WindowsApps\ ` , PowerShell was installed using the
285+ [ MSIX package] [ 10 ] .
259286- If the value is anything else, it's likely that PowerShell was installed as a [ ZIP package] [ 12 ] .
260287
261- If you installed via the MSI package, that information also appears in the
262- ** Programs and Features** Control Panel.
263-
264288To determine whether PowerShell may be upgraded with WinGet, run the following command:
265289
266290``` powershell
@@ -274,6 +298,10 @@ following command to upgrade PowerShell using WinGet:
274298winget upgrade --id Microsoft.PowerShell
275299```
276300
301+ If available in the new version, WinGet uses the same package format (MSI or MSIX) that was used to
302+ install the current version of PowerShell. Alternatively, you can manually download and install
303+ the package you want.
304+
277305## Uninstall PowerShell 7
278306
279307The process of uninstalling PowerShell 7 depends on the installation method you used.
@@ -322,12 +350,16 @@ can't support those methods.
322350[ 10 ] : #msstore
323351[ 11 ] : #winget
324352[ 12 ] : #zip
325- [ 13 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/PowerShell-7.6.1-win-arm64.msi
326- [ 14 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/PowerShell-7.6.1-win-arm64.zip
327- [ 15 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/PowerShell-7.6.1-win-x64.msi
328- [ 16 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/PowerShell-7.6.1-win-x64.zip
329- [ 22 ] : https://github.com/PowerShell/PowerShell/releases/latest
330- [ 23 ] : https://www.microsoft.com/store/apps/9MZ1SNWT0N5D
331- [ 24 ] : media/install-powershell-on-windows/powershell-start-menu.png
332- [ 25 ] : microsoft-update-faq.yml
333- [ 26 ] : PowerShell-Support-Lifecycle.md
353+ [ 13 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.4.15/PowerShell-7.4.15.msixbundle
354+ [ 14 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.5.6/PowerShell-7.5.6.msixbundle
355+ [ 15 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/PowerShell-7.6.1-win-arm64.msi
356+ [ 16 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/PowerShell-7.6.1-win-arm64.zip
357+ [ 17 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/PowerShell-7.6.1-win-x64.msi
358+ [ 18 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/PowerShell-7.6.1-win-x64.zip
359+ [ 19 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.6.1/PowerShell-7.6.1.msixbundle
360+
361+ [ 21 ] : https://github.com/PowerShell/PowerShell/releases/latest
362+ [ 22 ] : https://www.microsoft.com/store/apps/9MZ1SNWT0N5D
363+ [ 23 ] : media/install-powershell-on-windows/powershell-start-menu.png
364+ [ 24 ] : microsoft-update-faq.yml
365+ [ 25 ] : PowerShell-Support-Lifecycle.md
0 commit comments