Installing Powershell Core

We want to celebrate the new Powershell Core edition by showing you how simple is installing it! 

Installing PowerShell Core on Windows

First step is get the installer from GitHub: https://github.com/PowerShell/Powershell  and choose the right one for your operating system, most probably a MSI installer for Windows (x64).

The latest version is 6.0.1 and has been released Jan 25th, 2018.  Use this link to always get the latest.

Second step. Once downloaded, (always) read the instructions provided.

Third step. Launch the installer, remember that this operation requires to be run as an administrator.

   

We suggest you to tick the checkbox “Launch PowerShell” so you can quickly check the result.

Installing PowerShell Core on Linux

The process of installing PowerShell core on linux can be slightly different according to the linux distribution that you’re using.  Let’s start from the release page: https://github.com/PowerShell/PowerShell/releases 

In this article we will show you the process for installing PowerShell Core on Centos 7.
Usually, I prefer pack in a single bash script (“install-powershell-core.sh”) all the commands and dependencies:

Let’s run the script and see the result!

This the end result:

Happy PowerShell!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.