PowerShell icon indicating copy to clipboard operation
PowerShell copied to clipboard

Unable to install on M1 Mac from releases page

Open kristianjaeger opened this issue 2 years ago • 2 comments

Prerequisites

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

image

kristianjaeger avatar Jan 27 '23 20:01 kristianjaeger

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.

Note

  • This is a known issue related to package notarization that will be addressed in the future.

"

mklement0 avatar Jan 27 '23 21:01 mklement0

Thanks for responding. Cheers.

kristianjaeger avatar Jan 27 '23 21:01 kristianjaeger

This issue has been marked as answered and has not had any activity for 1 day. It has been closed for housekeeping purposes.

ghost avatar Jan 29 '23 00:01 ghost