11---
22description : Information about installing PowerShell on macOS
3- ms.date : 10/16 /2025
3+ ms.date : 10/23 /2025
44title : Installing PowerShell on macOS
55---
66
@@ -120,7 +120,7 @@ brew upgrade powershell-lts
120120> If you decide to use different methods, there are ways to correct the issue using the
121121> [ Homebrew link method] [ 11 ] .
122122
123- ## Installation via Direct Download
123+ ## Installation the package via Direct Download
124124
125125Starting with version 7.2, PowerShell supports the Apple M-series Arm-based processors. Download the
126126install package from the [ releases] [ 09 ] page onto your Mac. The links to the current versions are:
@@ -139,41 +139,39 @@ There are two ways to install PowerShell using the Direct Download method.
139139
140140Install PowerShell using Finder:
141141
142- 1 . Open Finder
142+ 1 . Open ** Finder**
1431431 . Locate the downloaded package
1441441 . Double-click the file
145- 1 . Follow the prompts
146145
147- You might receive the following error message when installing the package:
146+ You will receive the following error message when installing the package:
148147
149- > "powershell-7.5.4-osx-arm64.pkg" cannot be opened because Apple cannot check it for malicious
150- > software.
148+ > "powershell-7.5.4-osx-arm64.pkg" Not Opened
149+ >
150+ > Apple could not verify "powershell-7.5.4-osx-arm64.pkg" is free from malware that may harm
151+ > your Mac or compromise your privacy.
151152
152- To work around this issue using Finder:
153+ 1 . Select the ** Done ** button to close the prompt.
153154
154- 1 . Locate the downloaded package in Finder
155- 1 . Control-click (click while pressing the <kbd >Control (or Ctrl)</kbd > key on the package
156- 1 . Select ** Open** from the context menu
155+ This error message comes from the Gatekeeper feature of macOS. For more information, see
156+ [ Safely open apps on your Mac - Apple Support] ( https://support.apple.com/102445 ) .
157157
158- ### Using Terminal
159-
160- Install PowerShell from the terminal. Change the filename to match the package you downloaded.
161-
162- ``` sh
163- sudo installer -pkg ./Downloads/powershell-7.5.4-osx-arm64.pkg -target /
164- ```
158+ After you've tried to open the package, follow these steps:
165159
166- You might receive the following error message when installing the package:
160+ 1 . Open ** System Settings** .
161+ 1 . Select ** Privacy & Security** and scroll down to the ** Security** section.
162+ 1 . Select the ** Open Anyway** button to confirm your intent to install PowerShell.
163+ 1 . When the warning prompt reappears, select ** Open Anyway** .
164+ 1 . Enter username and password to allow the installation to proceed.
167165
168- > "powershell-7.5.4-osx-arm64.pkg" cannot be opened because Apple cannot check it for malicious
169- > software.
166+ ### Using Terminal
170167
171- There are a few different ways to work around this issue from the command line:
168+ To install the PowerShell package from the command line, you must bypass the Gatekeeper checks. Use
169+ one of the following methods to install the package:
172170
173171- Run the ` installer ` command with the ** allowUntrusted** flag:
174172
175173 ``` sh
176- ` sudo installer -allowUntrusted -pkg ./Downloads/powershell-7.5.4-osx-arm64.pkg -target /`
174+ sudo installer -allowUntrusted -pkg ./Downloads/powershell-7.5.4-osx-arm64.pkg -target /
177175 ```
178176
179177- Or install the package as you normally would after running one of the following commands:
0 commit comments