6
Collaborate with us on
GitHub
The
source for this content can
be found on GitHub, where you
can also create and review
issues and pull requests. For
more
information, see
our
contributor guide
.
.NET feedback
.NET is an open source project.
Select a link to provide feedback:
Open a documentation issue
Provide product feedback
Install PowerShell on Linux
Article • 09/05/2023
PowerShell can be installed on several different Linux distributions.
Most Linux platforms
and distributions have a major release each year, and provide a package manager that's
used to install PowerShell. PowerShell can be installed on some distributions of Linux
that aren't supported by Microsoft. In those cases, you
may find support from the
community for PowerShell on those platforms.
For more information, see the
PowerShell Support Lifecycle
documentation.
This article lists the supported Linux distributions and package managers.
All PowerShell
releases remain supported until either the version of PowerShell or the version of the
Linux distribution reaches end-of-support.
For the best compatibility, choose a long-term release (LTS) version.
The following table lists the supported PowerShell releases and the versions of Alpine
they're supported on. These versions are supported
until either the version of
PowerShell reaches end-of-support
or the version of
Alpine reaches end-of-life
.
The icon indicates that the version of the OS or PowerShell
is still supported
The icon indicates the version of PowerShell is no longer supported on that
version of the OS
The icon indicates that we haven't finished testing PowerShell on that OS
The icon indicates that the version of the OS or PowerShell isn't supported
When both the version of the OS and the version of PowerShell have a icon,
that combination is supported