Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install PowerShell Core on CentOS 7
# Enter superuser mode
sudo su
# Register the Microsoft RedHat repository
curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/microsoft.repo
# Exit superuser mode
exit
# Install PowerShell
sudo yum install -y powershell
# Start PowerShell
powershell
@windonis

This comment has been minimized.

Copy link

@windonis windonis commented Nov 17, 2018

Start Powershell

pwsh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment