[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:
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