In this article, we will have explained the necessary steps to install and setup Microsoft PowerShell on Debian 10. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.
Microsoft PowerShell is an opensource and cross-platform tool that includes an interactive command-line shell and scripting environment. It consists of a cross-platform (Windows, Linux, and macOS) command-line shell and associated scripting language.
Install Microsoft PowerShell on Debian
Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.
Step 2. Install Snap.
First you have to enable Snap. To do that follow the command:
Step 3. Install Microsoft PowerShell on Debian 10.
To install Microsoft PowerShell classic version you should execute the following command:
Step 4. Accessing 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 or launch PowerShell by using the Terminal application by using the following command:
Congratulation, you have learned how to install and configure Microsoft PowerShell on Debian Buster. If you have any question, please leave a comment below.