How to install PowerShell on Ubuntu!

Created September 6, 2021

Step 1. Access your terminal and execute the following command:

snap install powershell --classic

snap install powershell --classic.png

Once installiation is complete the output should look like

powershell 7.1.4 from Microsoft Powershell installed.png

Step 2. Start power shell from the terminal by running the pwsh command:

pwsh

The output should look something like this

PowerShell 7.1.4
Copyright (c) Microsoft Corporation. All rights reserved.

https://aka.ms/pscore6-docs
Type 'help' to get help.

pwsh.png You will enter the Powershell console. To leave type exit then press enter. You will be back to the Ubuntu Terminal.

Thats all!

If you found this usful then please comment and follow me! Also check out my website where I also post everything from here