Getting Started With PowerShell on Linux

Getting PowerShell on Linux

Well it’s not just an announcement, you can actually get PowerShell on Linux and MacOS right now from GitHub – here!

Installing PowerShell

Once you’ve downloaded an installation file you can use RPM or apt to install the package. If you’re on a Mac…well just double click on the package!

yum install powershell-6.0.0_alpha.9-1.el7.centos.x86_64.rpm

If you’re on Ubuntu, you’ll need a little more stuff read <a href="https://github.com/PowerShell/PowerShell/blob/master/docs/installation/linux.md#ubuntu-1404">this</a>.

Running PowerShell

We’ll there’s really not much to that, just type **powershell** at the command prompt an you’re off and running!

[root@localhost ~]# powershell

Windows PowerShell

Copyright (C) 2016 Microsoft Corporation. All rights reserved.

PS /root> Get-Content /etc/redhat-release

Red Hat Enterprise Linux Server release 7.2 (Maipo)

PS /root>


The implications of this are huge, but to boil it down to it’s simplest essecense, we now can use one language to manage our data centers…and that’s awesome!


I’ll be blogging a lot more about this topic in the near future, but for now enjoy!


Check out my next post – Setting PowerShell as your default Linux shell