[Unofficial] PowerShell Core Install Scripts
To use, run from your terminal:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/jldeen/pwshcore/install.sh)"
Currently supported distros:
- Ubuntu 14
- Ubuntu 16
- Ubuntu 17
- Debian 8
- Debian 9
- RHLE 7
- CentOS 7
- OpenSUSE 42
WSL (Bash on Ubuntu on Windows 10 aka Windows Subsystem for Linux) is not currently suppored at this time.
Note: As of 12/27/17 OpenSUSE 42 is now supported. However, unlike the other supported distros, this version installs pwshcore via direct download. Until the repo version is officially supported without any human interaction, this script will install PowerShell Core using the direct download method.
This means to remove PowerShell Core from OpenSUSE 42 when installed using this installer you must run the following commands:
sudo rm -rf /opt/microsoft/powershell/
sudo rm /usr/bin/pwsh
sudo sed -i '\|^/usr/bin/pwsh|d' /etc/shells