News, tips, advice, support for Windows, Office, PCs & more. Tech help. No bull. We're community supported by donations from our Plus Members, and proud of it
Home icon Home icon Home icon Email icon RSS icon
  • Install PowerShell on Mac

    Posted on Nathan Parker Comment on the AskWoody Lounge

    Home Forums AskWoody support Non-Windows operating systems macOS Install PowerShell on Mac

    Viewing 2 reply threads
    • Author
      • #2159065 Reply
        Nathan Parker

        A while back I read there’s a variant of PowerShell available for Mac. Does anyone have the instructions on the quickest way to install it? I may be spinning up an Office 365 tenant for testing purposes, and having PowerShell access on my Mac would be great.


        Nathan Parker

      • #2169489 Reply
        AskWoody Plus

        PowerShell available for Mac

        There is a version for Mac here :

        1 user thanked author for this post.
      • #2169952 Reply
        Nathan Parker

        For this week’s AskWoody Mac column, I’m going to comment back on this and elaborate on it.

        The instructions at the link above worked on both of my Macs. I’m going to consolidate the instructions here (since I needed to also install Homebrew for Mac) to make it easier for AskWoody members.

        I installed my copy of PowerShell Core for Mac through Homebrew for Mac, which was the easiest way to install it, and it’ll be the easiest way to keep it updated. Here are the instructions needed to install it using Homebrew for Mac:

        1. You’ll need to have the Xcode Command Line Tools installed. This can be done without installing the entire Xcode app. In Terminal, simply run: xcode-select –install
        2. Install Homebrew (which now also installs Homebrew Cask). In terminal, type: ruby -e “$(curl -fsSL” More instructions here.
        3. Run this command in Terminal: brew doctor
        4. If you receive “Your system is ready to brew” in Terminal, you’re ready to install PowerShell.
        5. Run this command in Terminal to install PowerShell: brew cask install powershell

        Once installed, you can run the Terminal command pwsh to test to see if PowerShell loads, as well as PowerShell installs a nice PowerShell icon in your Applications folder in which clicking on it launches Terminal and automatically runs the pwsh command.

        To update PowerShell to any new releases, run the following commands in Terminal:

        1. The Homebrew Update command: brew update
        2. The PowerShell Update command: brew cask upgrade powershell

        Some PowerShell documentation I read said OpenSSL also needs to be installed using this Terminal command: brew install openssl. OpenSSL was already installed on both of my Macs.

        To remove PowerShell at any time, simply run this command in Terminal: brew cask uninstall powershell

        It feels good to have PowerShell on my Mac, so one less reason I have to fire up my work PC!

        Nathan Parker

    Viewing 2 reply threads

    Please follow the -Lounge Rules- no personal attacks, no swearing, and politics/religion are relegated to the Rants forum.

    Reply To: Install PowerShell on Mac

    You can use BBCodes to format your content.
    Your account can't use Advanced BBCodes, they will be stripped before saving.