How to Install Microsoft PowerShell 6.2.0 on Debian 10
Table of Contents
Install Microsoft PowerShell 6.2.0 on Debian 10
Microsoft PowerShell is an opensource and cross-platform tool that includes an interactive command-line shell and scripting environment. Microsoft PowerShell is developed to perform configuration management and automation of repetitive tasks. On Ubuntu, you can install the Microsoft PowerShell Package by using the
snappy package manager. In this tutorial, you are going to learn how to install Microsoft PowerShell 6.2.0 on Debian 10.
Before you start to Install Microsoft PowerShell 6.2.0 on Debian 10. You must have the non-root user account on your system with sudo privileges.
Install PowerShell on Ubuntu
Microsoft PowerShell is made available to Linux users by the
snap package. So we are going to install it by using the
snappy package manager.
First, open the terminal application by pressing
Ctrl+Alt+t keys the same time.
Now update the
apt package manager index by typing following command in the terminal:
sudo apt update
Next, we need to install
snapd-xdg-open packages in order to install the Snappy package manager if it’s not installed on your system. To install Snappy package manager on your system run following command in the terminal:
sudo apt install snapd snapd-xdg-open
After installing Snappy package manager we are here ready to install Microsoft PowerShell. To install Microsoft PowerShell classic version you should execute the following command:
sudo snap install powershell –classic
The above command will prompt you for authentication, please kindly enter the password for authentication to continue.
The output should be:
powershell 6.2.0 from 'microsoft-powershell' installed
Here, you have successfully installed Microsoft PowerShell on your system.
Launch Microsoft PowerShell
You can install Microsoft PowerShell by using two ways, either by visiting
Activities -> type - Microsoft Powershell and clicking on the launcher icon when it appears.
You can also Launch PowerShell by using the Terminal application by using the following command:
Verify PowerShell Installed Correctly
To verify the Microsoft PowerShell installed correctly, you can execute below PowerShell command inside it:
You have successfully learned how to Install Microsoft PowerShell 6.2.0 on Debian 10. If you have any queries regarding this then please don’t forget to comment below.
How to Install Eclipse IDE on Linux Mint 19
How to Check CentOS Version
How to Install Laravel PHP Framework With Nginx on CentOS 7
How to Install WordPress with LAMP Stack on Ubuntu 18.04
How to Install Pip on Debian 10
How to Install MariaDB 10 on CentOS 7
How to Install Dropbox on Debian 10 Server and Desktop
How to Copy, Cut, Paste in Vim or Vi
How to Install IntelliJ IDEA IDE on CentOS 7
How to Install Ruby on Ubuntu 18.04
How to install PHP 7.2 on CentOS 7
How to Install Apache on Debian 10