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 Docker Compose on CentOS 7
How to Save a File in Vim or Vi and Quit the Editor
How to Install Google Earth on Ubuntu 18.04 Linux
How to install XAMPP on CentOS 7
How to Install Eclipse IDE on Debian 9
How to Show Line Numbers in Vim or Vi Text Editor
How to Install Opera Browser on CentOS 7
How to install Django Web Framework on Ubuntu 18.04
How to Install Laravel PHP Framework With Nginx on CentOS 7
How to Install Grub Customizer on Ubuntu 18.04 LTS Linux
How To Check Ubuntu Version
How to Install Skype on Linux Mint 19