Official documentation here.
1. Add the PowerShell repo from Microsoft
curl https://packages.microsoft.com/config/rhel/7/prod.repo | tee /etc/yum.repos.d/microsoft.repo
2. Use YUM to install
yum install powershell
3. Start PowerShell
pwsh