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 https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
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.
pwsh
Processing…
Success! You're on the list.
Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.