Linux
Installing PowerShell in Linux is easier than you think
Last updated
Was this helpful?
Installing PowerShell in Linux is easier than you think
Last updated
Was this helpful?
This article is covered in a GeeksForGeeks article, here's the link: https://www.geeksforgeeks.org/how-to-install-powershell-in-linux/
Installing PowerShell Using Snap is as per the following:
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.