HowTo Install Microsoft PowerShell: Difference between revisions
From MediaWiki
Jump to navigationJump to search
Line 8: | Line 8: | ||
<span style="color: green;"># Register the Microsoft RedHat repository</span> | <span style="color: green;"># Register the Microsoft RedHat repository</span> | ||
curl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo; | <nowiki>curl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo;</nowiki> | ||
<span style="color: green;"># Update the list of products</span> | <span style="color: green;"># Update the list of products</span> |
Revision as of 07:35, 5 July 2018
Overview
PowerShell Installation Instructions
# Register the Microsoft signature key sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc; # Register the Microsoft RedHat repository curl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo; # Update the list of products sudo dnf update; # Install a system component sudo dnf install compat-openssl10; # Install PowerShell sudo dnf install -y powershell; # Start PowerShell pwsh;