PowerShell Core for Linux Administrators Cookbook
上QQ阅读APP看书,第一时间看更新

Installing from the repository

To begin the installation, follow these steps:

  1. First, register the Microsoft repository:
$ curl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo
  1. Next, install PowerShell using yum:
$ sudo yum install -y powershell