PowerShell
PowerShell copied to clipboard
Unable to install on M1 Mac from releases page
Prerequisites
- [X] Write a descriptive title.
- [X] Make sure you are able to repro it on the latest released version
- [X] Search the existing issues.
- [X] Refer to the FAQ.
- [X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.
Steps to reproduce
Go to https://github.com/PowerShell/PowerShell/releases/tag/v7.2.9 (VS code takes you here after installing the Powershell extension)
- attempt to install on a m1 mac with ventura
Expected behavior
Provide simple instructions like "brew install powershell" :). Thanks.
Actual behavior
Installation fails
Error details
n/a
Environment data
n/a
Visuals
The instructions are here, and they both include Homebrew instructions and explain how to get around the issue you're facing:
"
If you are running on macOS Big Sur 11.5 or higher you may receive the following error message when installing the package:
"powershell-7.3.1-osx-x64.pkg" cannot be opened because Apple cannot check it for malicious software.
There are two ways to work around this issue:
-
Using the Finder
-
Find the package in Finder.
- Control-click (click while pressing the Ctrl key) on the package.
- Select Open from the context menu.
-
From the command line
- Run
sudo xattr -rd com.apple.quarantine powershell-7.3.1-osx-x64.pkg
. Include the full path to the.pkg
file. - Install the package as you normally would.
- Run
Note
- This is a known issue related to package notarization that will be addressed in the future.
"
Thanks for responding. Cheers.
This issue has been marked as answered and has not had any activity for 1 day. It has been closed for housekeeping purposes.