Skip to content

Commit f889fd1

Browse files
committed
Update GateKeeper instructions
1 parent 8849da7 commit f889fd1

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

reference/docs-conceptual/install/Installing-PowerShell-on-macOS.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Information about installing PowerShell on macOS
3-
ms.date: 10/16/2025
3+
ms.date: 10/23/2025
44
title: Installing PowerShell on macOS
55
---
66

@@ -139,7 +139,7 @@ There are two ways to install PowerShell using the Direct Download method.
139139

140140
Install PowerShell using Finder:
141141

142-
1. Open Finder
142+
1. Open **Finder**
143143
1. Locate the downloaded package
144144
1. Double-click the file
145145
1. 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

Comments
 (0)