MSFT Linux Powershell core snap available


Well-Known Member
Credit: Microsoft's Linux Powershell core
author: Paul Hill


Microsoft has just launched PowerShell Core as a snap package allowing for the easier installation of the software on many Linux distributions that support snaps. PowerShell Core is designed for admins who need to manage assets in a hybrid cloud and therefore Microsoft decided to make it as widely available as possible across Windows, Linux and macOS.
Discussing the news, Joey Aiello, Program Manager, PowerShell, said:
“Snaps are great because they provide a single package format that works across many Linux distributions, much like how PowerShell acts as a single automation platform across operating systems. We hope our users enjoy the simplified installation and update experience of Snaps as much as we do.”​
As Aiello alluded to, snaps are great because they’re packages with their own dependencies making installation easy, they can be installed without root access because of their containerized nature, and they update automatically meaning you get the latest software right away, enhancing the system's security and stability further

Installing PowerShell Core on Ubuntu or other Linux systems that support snaps is a doddle. Just head over to the page and hit install. You'll get instructions to install the stable build of the software and bleeding edge versions where new features are being tested.
The page also posted this terminal command that can be utilized:
sudo snap install powershell

I tried (out of morbid curiosity):
sudo apt search powershell
no dice on finding it directly per se'.
@Neemobeer ; If we install it as per the instructions, do most developers also update our Repo's so they can update their apps? that or- how would you suggest adding this repo manually. I forget the context in terminal to do this.

Care to share your expertise? :fdance:
In general repositories are updated by the developers, but if you install it via snap you can easily keep it up-to-date with sudo snap refresh or add the repo and you can keep it update with the usual sudo apt update && sudo apt upgrade