About this Install Guide

This guide is intended to get you up and running with this tool quickly with the most common settings. For a thorough review of all options, refer to the official documentation.

PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. It runs on a variety of operating systems, including Windows, Linux, and macOS.

Before you begin

PowerShell is available for a variety of operating systems and Linux distributions and there are multiple ways to install it.

This guide provides a quick solution to install PowerShell on an Arm Linux computer.

Confirm you are using an Arm machine by running:


            uname -m

The output should be:




If you see a different result, you are not using an Arm computer running 64-bit Linux.



The PowerShell installation documentation for Linux package managers does not work for the Arm architecture because there is no Arm support in the repositories. This may change for future versions of PowerShell.

You can download a release file for the Arm architecture from GitHub and install it using the steps below:

  1. Copy and paste the commands below to your Linux shell prompt:

            # Download the powershell '.tar.gz' archive
curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-linux-arm64.tar.gz

# Create the target folder where powershell will be placed
sudo mkdir -p /opt/microsoft/powershell/7

# Expand powershell to the target folder
sudo tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7

# Set execute permissions
sudo chmod +x /opt/microsoft/powershell/7/pwsh

# Create the symbolic link that points to pwsh
sudo ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
  1. Confirm the pwsh executable is in the search path:

            which pwsh

The path is printed:



  1. To verify the installed version run:

            pwsh --version

The version is printed:


        PowerShell 7.4.1


You are now ready to use PowerShell on your Arm Linux computer.

Get started

To print a hello world message using pwsh run the following commands:


            pwsh -c Write-Host Hello Arm Linux world! 

The hello message is printed:


        Hello Arm Linux world!



How would you rate the overall quality of this tool quick-install guide?