1
1
---
2
2
description : Information about installing PowerShell on macOS
3
- ms.date : 06/18 /2025
3
+ ms.date : 06/19 /2025
4
4
title : Installing PowerShell on macOS
5
5
---
6
6
@@ -22,10 +22,13 @@ Before installing, check the list of [Supported versions][06].
22
22
23
23
There are several ways to install PowerShell on macOS. Choose one of the following methods:
24
24
25
- - Install using [ Homebrew] [ 10 ] . Homebrew is the preferred package manager for macOS.
26
- - Install via [ Direct Download] [ 04 ]
25
+ - Install using [ Homebrew] [ 27 ] . Homebrew is the preferred package manager for macOS.
26
+ - Install via [ Direct Download] [ 04 ] .
27
+ - Install as [ a .NET Global tool] [ 28 ] .
27
28
- Install from [ binary archives] [ 03 ] .
28
29
30
+ ## Install using Homebrew
31
+
29
32
If the ` brew ` command isn't found, you need to install Homebrew following [ their instructions] [ 10 ] .
30
33
31
34
``` bash
@@ -60,7 +63,7 @@ brew upgrade powershell
60
63
61
64
[ brew ] : https://brew.sh/
62
65
63
- ## Install the latest preview release of PowerShell
66
+ ### Install the latest preview release of PowerShell
64
67
65
68
The following command installs the latest preview release of PowerShell:
66
69
@@ -87,7 +90,7 @@ brew upgrade powershell-preview
87
90
> restart the PowerShell session to complete the upgrade and refresh the values shown in
88
91
> ` $PSVersionTable ` .
89
92
90
- ## Install the latest LTS release of PowerShell
93
+ ### Install the latest LTS release of PowerShell
91
94
92
95
The following command installs the latest LTS release of PowerShell:
93
96
@@ -192,7 +195,7 @@ The dotnet tool installer adds `~/.dotnet/tools` to your `PATH` environment vari
192
195
currently running shell doesn't have the updated ` PATH ` . Start PowerShell from a new shell by typing
193
196
` pwsh ` .
194
197
195
- ## Binary Archives
198
+ ## Binary archives
196
199
197
200
PowerShell binary ` tar.gz ` archives are provided for the macOS platform to enable advanced
198
201
deployment scenarios. When you install using this method, you must also manually install any
@@ -282,7 +285,7 @@ Microsoft supports the installation methods in this document. There might be oth
282
285
installation available from other sources. While those tools and methods might work, Microsoft can't
283
286
support those methods.
284
287
285
- ## Additional Resources
288
+ ## Additional resources
286
289
287
290
- [ Homebrew Web] [ 10 ]
288
291
- [ Homebrew GitHub Repository] [ 12 ]
@@ -311,3 +314,5 @@ support those methods.
311
314
[ 24 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/powershell-7.5.1-osx-x64.pkg
312
315
[ 25 ] : https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/powershell-7.5.1-osx-x64.tar.gz
313
316
[ 26 ] : https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
317
+ [ 27 ] : #install-using-homebrew
318
+ [ 28 ] : #install-as-a-net-global-tool
0 commit comments