Powershell on Redhat or Centos
Jump to navigation
Jump to search
RHEL/Centos 8
/etc/yum.repos.d/microsoft.repo
name=packages-microsoft-com-pwsh baseurl=https://packages.microsoft.com/rhel/8/prod/ enabled=1 gpgcheck=1 gpgkey=https://packages.microsoft.com/keys/microsoft.asc
upgrade repos and install
sudo yum upgrade sudo yum install powershell pwsh