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
@@ -139,7 +139,7 @@ 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
1451451 .  Follow the prompts
@@ -149,11 +149,15 @@ You might receive the following error message when installing the package:
149149>  "powershell-7.5.4-osx-arm64.pkg" cannot be opened because Apple cannot check it for malicious
150150>  software.
151151
152- To work around this issue using Finder:
152+ This error message comes from the Gatekeeper feature of macOS. For more information, see
153+ [ Safely open apps on your Mac - Apple Support] ( https://support.apple.com/102445 ) .
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+ After you've tried to open the package, follow these steps:
156+ 
157+ 1 .  Open ** System Settings** .
158+ 1 .  Select ** Privacy & Security**  and scroll down to the ** Security**  section.
159+ 1 .  Select the ** Open Anyway**  button to confirm your intent to install PowerShell.
160+ 1 .  When the warning prompt reappears, select ** Open** .
157161
158162### Using Terminal  
159163
@@ -173,7 +177,7 @@ There are a few different ways to work around this issue from the command line:
173177-  Run the ` installer `  command with the ** allowUntrusted**  flag:
174178
175179  ``` sh 
176-   ` sudo installer -allowUntrusted -pkg ./Downloads/powershell-7.5.4-osx-arm64.pkg -target /` 
180+   sudo installer -allowUntrusted -pkg ./Downloads/powershell-7.5.4-osx-arm64.pkg -target /
177181  ``` 
178182
179183-  Or install the package as you normally would after running one of the following commands:
0 commit comments