PowerShell on Linux
What you can use on Linux instead of PowerShell, with official docs and honest limits. As of November 2026.
Updated November 2026. Compatibility and versions change; check the linked official docs before you install.
PowerShell is one of the Windows programs people most often want to keep when they switch. Below is the situation as of November 2026: whether the vendor publishes a Linux build, whether a native or web alternative is official, and which tutorials are the right place to learn the replacement. We only describe compatibility we can tie to a vendor page, a project doc, or a named community database.
Microsoft publishes official PowerShell packages for Linux. The usual Linux shell is still bash or zsh; PowerShell is optional and useful if you already have scripts.
Options on Linux
PowerShell for Linux
Official Linux build
Official packages from Microsoft.
Website: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-linux
Tutorials and documentation (official first):
- Install PowerShell on Linux (official)
- PowerShell documentation (official)
bash / zsh
Native Linux application
The default Linux shells. Worth learning even if you also install PowerShell.
Website: https://www.gnu.org/software/bash/manual/
Tutorials and documentation (official first):
- Bash manual (official)
How this affects the distro you pick
For most programs on this page, any of the beginner-friendly distros will do. Install official vendor packages when they exist, otherwise prefer Flathub, and follow the official getting-started guide linked above rather than a random video from years ago.