As I am spending more time in PowerShell. I wanted to be able to run my PowerShell scripts on on my MacBook as I do not want to run Windows using parallels or in BootCamp. I have decided to write this article to show how easy it is to do this.
First we will go the the releases on git hub and download the PowerShell.
I have chosen one of the releases here https://github.com/PowerShell/PowerShell/releases
At the time of writing this article there is not verified certificate and therefore we need to apply workaround to run the installation package.
We can do that using System Preferences (click on the apple icon, and it is in the menu).
Select Security & Privacy
Just click Open Anyway, to run the installer.
Follow the wizard until you installation is complete
Now we have installation behind us, we can open terminal.
Click Launchpad and type terminal
Now just type PowerShell in your terminal
And we have PowerShell running. Great job if you managed to stay with me so far.
Now I challenge you to do the same.