In a move that will most benefit developers, Microsoft has made powershell and the .NET framework, as well as the .NET core (which is used to build Powershell), available on Linux and OSX.
Are you a Linux or OSX user that just can’t wait to run Powershell? Download the necessary files here : https://github.com/PowerShell/PowerShell
Link to full article : https://azure.microsoft.com/en-us/blog/powershell-is-open-sourced-and-is-available-on-linux/