Difference between revisions of "Powershell on Redhat or Centos"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
sudo yum upgrade | sudo yum upgrade | ||
sudo yum install powershell | sudo yum install powershell | ||
+ | pwsh | ||
``` | ``` |
Latest revision as of 00:04, 9 July 2021
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