How to Install PowerShell on Fedora


PowerShell is an command line interface in addition to a scripting language advanced by means of Microsoft. Similar to bash programing, the PowerShell could also be used for automating the roles for the machine control. The present model of PowerShell supported Fedora 32 or better variations.

PowerShell could also be to be had for the Linux programs with an legit bundle repository. This instructional will assist you to for putting in PowerShell on Fedora Linux machine.


You will have to be login as root account or sudo privileged account for your Fedora Linux machine.

Enable Microsoft Repository in Fedora

First of all upload the Microsoft signature key for your Fedora machine by means of working the next command.

sudo rpm --import 

Next, execute the next command so as to add the Microsoft repository to the Fedora machine

sudo rpm -Uvh 

Install PowerShell in Fedora

Now run the ‘dnf check-update’, which replace the metadata of all enabled repositories. This won’t in fact replace the programs however listing all programs.

sudo dnf check-update 

Now, You are ready to put in PowerShell on Fedora machine. Run the underneath command to put in PowerShell on Fedora Linux machine.

sudo dnf set up powershell 
Installing PowerShell on Fedora Linux

That’s it. This will whole the PowerShell set up in your Fedora machine.

Access PowerShell in Fedora

To get right of entry to the PowerShell terminal, kind pwsh on a terminal. On a hit, you’re going to get the Powershell terminal as underneath.

How to Install PowerShell on Fedora Linux
Connect to PowerShell

After getting the instructed, kind “help” to get detailed details about makes use of.

How to Uninstall PowerShell on Fedora

If you don’t want PowerShell anymore in your machine. Simply kind underneath command to uninstall it.

sudo dnf take away powershell


This information helped you for putting in PowerShell on Fedora Linux machine. Now you’ll use PowerShell options to manage your server and automate the duties.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More