How to Install PowerShell on MacOS

In this blog post, I will show you how to install PowerShell 7.03 on a macOS machine.

Install Homebrew

The first step I recommend you start with installing homebrew which is a package manager for macOS and will handle the entire installation.

If you have homebrew install you can skip this step, if you don’t use the following command in the macOS terminal to install it.

/bin/bash -c "$(curl -fsSL"

Install PowerShell

To install PowerShell, use the following command.

brew cask install powershell

When the installation is completed you can start using PowerShell by typing the following command.


Success! You're on the list.