How to install PowerShell on Ubuntu!

How to install PowerShell on Ubuntu!

Written by Adam. R on Sep 6th, 2021 Views Report Post

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

Comments (0)