Tip: You can install PowerShell on Linux (Ubuntu 16.04).
In this example, I will install PowerShell on a virtual machine Ubuntu using VMware Workstation 10.
1 – Download the ISO : http://releases.ubuntu.com/16.04/ubuntu-16.04.1-desktop-amd64.iso
2 – Create a new virtual machine, import this ISO, start the VM and wait until the install is completed.
Note 1: I changed the screen resolution (800×600) to 1280×768 to increase the size. To do that, go to System Settings (left side bar) > Displays > Resolution
Note 2: To change the keyboard layout, search for “Text Entry” (in my case I added the French Switzerland).
3 – Launch terminal
4 – Install these packages : sudo apt-get install libunwind8 libicu55
Note: To check the ubuntu version : lsb_release -a
5 – Download the package : https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb
6 – Install the package PowerShell : sudo dpkg -i powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb
7 – Type powershell