

Use these prompts to install PowerShell on your Linux system:

********


sudo apt update

sudo apt install -y wget apt-transport-https software-properties-common

wget -q “https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb”

sudo dpkg -i packages-microsoft-prod.deb

sudo apt update

sudo apt install -y powershell 


****

Important information: The commands may differ for some Linux systems.
It is therefore essential that you read the detailed Microsoft documentation on PowerShell installation on Linux!

https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux

