Install PowerShell Easily via Snap in Ubuntu 18.04

July 21, 2018 — Leave a comment

Microsoft PowerShell Core now can be easily installed in Ubuntu 18.04, Ubuntu 16.04 via Snap package.

PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language.

It was announced on MSDN blogs:

    The goal of PowerShell Core is to be the ubiquitous language for managing your assets in the hybrid cloud. That’s why we’ve worked to make it available on many operating systems, architectures, and flavors of Linux, macOS, and Windows as possible.

    Today, we’re happy to announce an addition to our support matrix: PowerShell Core is now available as a Snap package.

How to Install PowerShell in Ubuntu via Snap:

Snap packages are containerized applications that can be installed on many Linux distributions. Snap bundles its dependencies in a single package and updates itself automatically once new version is published.

To install PowerShell snap, open Ubuntu Software, search for and install PowerShell Core:

or open terminal (Ctrl+Alt+T) and install it by running command:

snap install powershell --classic

NOTE for Ubuntu 16.04 users first time installing a snap package, install snapd before getting started:

sudo apt install snapd snapd-xdg-open

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com

No Comments

Be the first to start the conversation.

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*