{"id":16273,"date":"2022-03-27T03:46:35","date_gmt":"2022-03-27T03:46:35","guid":{"rendered":"https:\/\/linuxways.net\/?p=16273"},"modified":"2022-03-27T03:46:35","modified_gmt":"2022-03-27T03:46:35","slug":"how-to-install-powershell-on-linux-mint-20-3","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/mint\/how-to-install-powershell-on-linux-mint-20-3\/","title":{"rendered":"How to Install PowerShell on Linux Mint 20.3"},"content":{"rendered":"<h2>Introduction:<\/h2>\n<p>PowerShell originally is a Windows operating system\u2019s utility that can act as a full-fledged command line interface along with supporting shell scripting (for learning more about PowerShell, you can visit the link mentioned over <a href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/\">here<\/a>). However, it does not mean that you cannot have this utility installed on any operating system other than Windows. In this article, we will learn the process of installing PowerShell on a Linux Mint 20.3 system.<\/p>\n<h2>How do I install PowerShell on Linux Mint 20.3?<\/h2>\n<p>Installing PowerShell on Linux Mint 20.3 is a very simple two-step process which is explained below:<\/p>\n<h3>Step # 1: Confirm the Presence of the Snap Package Manager on Linux Mint 20.3:<\/h3>\n<p>First, you need to ensure that the Snap Package Manager exists on your system. For that, you can execute the following command:<\/p>\n<pre><strong>$ snap --version<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"354\" height=\"26\" class=\"wp-image-16274\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-217.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-217.png 354w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-217-300x22.png 300w\" sizes=\"auto, (max-width: 354px) 100vw, 354px\" \/><\/strong><\/p>\n<p>The output shown in the image below confirms the presence of the Snap Package Manager on our Linux Mint 20.3 system:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"376\" height=\"129\" class=\"wp-image-16275\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-218.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-218.png 376w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-218-300x103.png 300w\" sizes=\"auto, (max-width: 376px) 100vw, 376px\" \/><\/p>\n<h3>Step # 2: Install PowerShell on Linux Mint 20.3:<\/h3>\n<p>Now, you can install PowerShell on your system with the help of the following command:<\/p>\n<pre><strong>$ sudo snap install powershell --classic<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"26\" class=\"wp-image-16276\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-219.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-219.png 540w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-219-300x14.png 300w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><\/strong><\/p>\n<p>Once all the snaps relevant to PowerShell will be installed on Linux Mint 20.3, the output shown in the image below will be produced on the terminal:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"584\" height=\"79\" class=\"wp-image-16277\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-220.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-220.png 584w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-220-300x41.png 300w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/p>\n<h2>How to launch PowerShell on Linux Mint 20.3?<\/h2>\n<p>To launch PowerShell on a Linux Mint 20.3 system, you simply need to run the following command in the terminal:<\/p>\n<pre><strong>$ sudo pwsh<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"310\" height=\"26\" class=\"wp-image-16278\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-221.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-221.png 310w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-221-300x25.png 300w\" sizes=\"auto, (max-width: 310px) 100vw, 310px\" \/><\/strong><\/p>\n<p>This is how the PowerShell interface looks like on a Linux Mint 20.3 system:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"364\" height=\"147\" class=\"wp-image-16279\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-222.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-222.png 364w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-222-300x121.png 300w\" sizes=\"auto, (max-width: 364px) 100vw, 364px\" \/><\/p>\n<h2>How to exit from PowerShell on Linux Mint 20.3?<\/h2>\n<p>For exiting from the PowerShell interface on a Linux Mint 20.3 system, you will have to execute the command stated below:<\/p>\n<pre><strong>&gt; exit<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"198\" height=\"40\" class=\"wp-image-16280\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-223.png\" \/><\/strong><\/p>\n<h2>How to remove PowerShell from Linux Mint 20.3?<\/h2>\n<p>Finally, if you want to remove PowerShell from Linux Mint 20.3, then you need to run the following command:<\/p>\n<pre><strong>$ sudo snap remove powershell<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"449\" height=\"25\" class=\"wp-image-16281\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-224.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-224.png 449w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-224-300x17.png 300w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><\/strong><\/p>\n<h2>Conclusion:<\/h2>\n<p>With the help of this article, we not only taught you the method of installing PowerShell on Linux Mint 20.3 but also the way of accessing it once you manage to install it on your system. By going through this simple yet beneficial tutorial, you will easily be able to install and use PowerShell while operating on a Linux Mint 20.3 system.<\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction: PowerShell originally is a Windows operating system\u2019s utility that can act as a full-fledged command line interface along with supporting shell scripting (for learning more about PowerShell,&hellip;<\/p>","protected":false},"author":1,"featured_media":16315,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[954,953],"class_list":["post-16273","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mint","tag-linux-mint-20-3","tag-powershell"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/16273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=16273"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/16273\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/16315"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=16273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=16273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=16273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}