Powershell is available for macOS 10.13 or higher, you can get it installed using Brew,
- Make sure brew is installed on your macOS - Installing brew on macOS
- Run command: brew install --cask powershell
- Once the installation is completed - you can check if the installation was successful by switching to Powershell using pwsh command.
% brew install --cask powershell
Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/powershell-7.2.1-osx-arm64.pkg
...
...
==> Running installer for Powershell; your password may be necessary.
Package installers may write to any location; options such as `--appdir` are ignored.
Password:
installer: Package name is PowerShell - 7.2.1
installer: Installing at base path /
installer: The installation was successful.
🍺 powershell was successfully installed!

If on macOS Ventura 13.0 or higher
- Run the below command in a terminal,
brew tap homebrew/cask-versions - Install PowerShell command,
brew install --cask powershell-preview - Running PowerShell Preview Prompt:
pwsh-preview
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!