PowerShell is open sourced and is available on Linux and OS X

Since its launch in 2002, PowerShell has been deeply influenced and improved by the passion and needs of the community.

Today, the PowerShell team made an exciting announcement: it’s going open-source, and it’s now available on Windows, Mac, and Linux. This is excellent news in itself, but the .NET team wanted to take the time to analyze what this means for .NET developers.

First, the availability of PowerShell on Linux and Mac OS, while it doesn’t aim at replacing the native shell experiences of those operating systems, will make collaboration easier in teams with mixed environments. Being able to run the same scripts on each OS without having to spin up virtual machines will facilitate development and reduce friction across developers who have made different choices of environment.

When deploying applications into production, being able to run PowerShell scripts on Linux means more flexibility in the choice of target environments, and easier migrations to and from Linux and Windows servers.

Of course, the transition to an open-source model means not only community contributions, but also more transparent design processes and bug tracking. Implementing PowerShell on new platforms and environments now becomes possible for anyone who needs it.

Finally, it’s worth pointing out that PowerShell and PowerShell scripts can now run on .NET Core.

“Now, users across Windows and Linux, current and new PowerShell users, even application developers can experience a rich interactive scripting language as well as a heterogeneous automation and configuration management that works well with your existing tools. Your PowerShell skills are now even more marketable, and your Windows and Linux teams, who may have had to work separately, can now work together more easily.”

You can always go to the PowerShell Home Page for information, updates or links about PowerShell and our overall efforts. However, for those who just want to dive in, here some direct links to help you get going right away:

  • The downloads for the alpha version of PowerShell built in the PowerShell repo that work on: Ubuntu 14.04/16.04, CentOS 7.1, and Mac OS X 10.11.
  • The PowerShell open source project is at https://github.com/PowerShell/PowerShell.
  • The Readme.MD file in that folder should display immediately. It contains links the downloads and to installation instructions
  • The Contribution Guide gives you the information you need to develop and contribute to the open source project. The FAQ is currently focused on issues for developers who are working to set up their own builds (although this may change over time).
  • The PowerShell channel on Youtube contains a variety of brief demos to showcase the basic abilities.
  • Demos, in code with comments, are available in the PowerShell Repo demo folder.

Source:

PowerShell is Open-Sourced and is available on Linux/
PowerShell is now Open-Source and Cross-Platform
Microsofts Powershell now Open-Sourced and avilable on Linux and Mac OS