π§Linux
Installing PowerShell in Linux is easier than you think
Using Snap
Installing PowerShell Using Snap is as per the following:

Using a package repository ( apt )
First update list of system packages using below command:

Install pre-requisite packages using the below command:

Now download the Microsoft repository GPG keys and register them:

Update system source and enable universe repositories:

Finally, install PowerShell using the below command.

You can test PowerShell functionality using the pwsh command in your terminal.

Last updated
Was this helpful?