
上QQ阅读APP看书,第一时间看更新
Installing via direct download
Follow these steps to install PowerShell on CentOS:
- Go to https://github.com/powershell/powershell.
- Scroll down to the table that contains the list of Linux distributions officially supported by the PowerShell team.
- Click on the relevant link, that is, .rpm under Downloads (stable)—we will stick to the stable release.
- Read the installation instructions if you need additional information.
- Install the RPM package using the following command (assuming your download is at ~/Downloads and your pwd is ~/Downloads):
$ sudo yum install <the-downloaded-file.rpm>