Install PowerShell on MacOS 🌱

What is PowerShell?

PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS. -
  1. Start LaunchPad from the dock
  2. Search terminal > Click Terminal to launch it
  3. Run the following commands in the terminal window
    # install command line tools
    xcode-select --install
    # if prompted, click install and agree to install command line tools
    # install homebrew
    /bin/bash -c "$(curl -fsSL"
    # enter your password
    # press Enter to continue
    # install openssl
    brew install openssl
    # install powershell
    brew install --cask powershell
    # enter your password when prompted
    # launch powershell