Community support for PowerShell on Linux

There are many distributions of Linux that are not officially supported by Microsoft. In some cases, PowerShell may be supported by the community for these releases.

To be supported by Microsoft, the Linux distribution must meet the following criteria:

  • The version and architecture of the distribution is supported by .NET Core.
  • The version of the distribution is supported for at least one year.
  • The version of the distribution is not an interim release or equivalent.
  • The PowerShell team has tested the version of the distribution.

For more information, see the [PowerShell Support Lifecycle][powershell-support-lifecycle.md] documentation.

The following distributions are supported by the community. Each distribution has its own community support mechanisms. Consult the distribution's website to find their community resources. You may also get help from these PowerShell Community resources.

CentOS Stream

The documented steps to install PowerShell on CentOS Linux may work on CentOS Stream. However, Microsoft does not officially support PowerShell on the CentOS Stream releases. CentOS Stream distributions are continuously updated. This falls into the category of an interim release.

For more information, see Comparing CentOS Linux and CentOS Stream.

Ubuntu interim releases

The documented steps to install PowerShell on Ubuntu may work on Ubuntu interim releases. However, PowerShell is only supported on the LTS releases of Ubuntu. Microsoft does not support interim releases of Ubuntu.

Arch Linux

Note

Arch support is not officially supported by Microsoft and is maintained by the community.

PowerShell is available from the Arch Linux User Repository (AUR).

Packages in the AUR are maintained by the community. For more information on installing packages from the AUR, see the Arch Linux wiki or Using PowerShell in Docker.

Kali

Kali support is not officially supported by Microsoft and is maintained by the community.

Installation - Kali

# Install PowerShell package
apt update && apt -y install powershell

# Start PowerShell
pwsh

Uninstallation - Kali

# Uninstall PowerShell package
apt -y remove powershell