powershell, debian,

Install PowerShell on Debian 11

Oct 26, 2022 · 1 min read · Post a comment

PowerShell can be installed on Debian 11 as well. All you need is to follow the steps down below.


  • Debian 11
  • sudo privileges

Install PowerShell on Debian 11

Step 1. Install wget.

sudo apt install wget

Step 2. Download the Microsoft package.

wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb

Step 3. Install the Microsoft package with dpkg.

dpkg -i packages-microsoft-prod.deb

Step 4. Update the system packages.

sudo apt-get update

Step 5. Install PowerShell.

apt-get install powershell

Step 6. Verify the installation.

pwsh --version


Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.