brew tap caskroom/cask Now, you can install PowerShell:
brew cask install powershell Finally, verify that your install is working properly:
pwsh When new versions of PowerShell are released, simply update Homebrew's formulae and upgrade PowerShell:
brew update brew cask upgrade powershell