Microsoft has released its command-line shell and scripting language PowerShell Core for Linux operating system as a Snap package, making it easier for Linux users to install Microsoft PowerShell on their system.
Yes, you heard me right.
Microsoft has made PowerShell Coreavailable to the Ubuntu Snap Store as a Snap application.
PowerShell Core is a cross-platform version of Windows PowerShell that is already available for Windows, macOS, and Linux OS and has been designed for sysadmins who manage assets in hybrid clouds and heterogeneous environments.
Snap is a universal Linux packaging system, built by Canonical for the Ubuntu operating system, which makes an application compatible for all major Linux distributions without requiring any modification.
A Snap package is basically an application compressed together with its dependencies and also includes instructions on how to run and interact with other software on various Linux systems.
How to Install PowerShell Core on Linux
To install Microsoft PowerShell Core as a snap package on a Linux-based OS, you first need to install snapd and then run the following command.
snap install powershell --classicOnce installed, open a terminal and run the command pwsh.
Alternatively, you can directly head on to this web page, and install PowerShell Core snap app on your system.
So thats it. Hope you guys like it. If yes then please .. comment down below and do not forgot to like follow and share our social media platforms.
Facebook Page:- https://www.facebook.com/theprogrammer.harshit/
0 comments:
Post a Comment