Warning
This tap is deprecated and no longer maintained.
PowerShell is now available directly from the official, signed and notarized
.pkg installers published by the PowerShell project,
as well as from
Homebrew Core. Please migrate to
one of the recommended installation methods below.
The powershell/tap/* formulas in this repository no longer work.
The PowerShell project publishes
macOS .pkg installers for both Apple silicon (arm64) and Intel (x64) Macs.
Beginning with the May 2026 releases, these packages are notarized and signed
by Microsoft, so you can download and open them directly.
- Download the
.pkgfor your processor architecture from the PowerShell releases page. - Double-click the downloaded package and follow the installer prompts.
To update, download and install the newer package. For full instructions, see Install PowerShell on macOS.
PowerShell is also published to Homebrew Core, so you no longer need this tap. Install it with:
brew install powershellIf you previously installed PowerShell using the Homebrew cask, you must first uninstall the cask before you can successfully install using the Homebrew formula:
# Uninstall the PowerShell cask instance
brew uninstall --cask powershell
# Uninstall the PowerShell Preview cask instance
brew uninstall --cask powershell-previewIf you receive the message "Warning: PowerShell is already installed, it's just not linked.", run:
brew link powershellTo update PowerShell to the latest release:
brew update
brew upgrade powershellNote
The brew formula is maintained and supported by the Homebrew community. It builds PowerShell from source code rather than installing a package built by Microsoft. See Alternate ways to install PowerShell for details.
- You must be running a version of macOS supported by PowerShell.
- See Homebrew requirements.
Issues with PowerShell itself can be reported at PowerShell/PowerShell.
Please see our Code of Conduct before participating in this project.
For any security issues, please see our Security Policy.