# PowerShell

## About this Install Guide

| Reading time: | 10 min |
|---------------|--------|
| Last updated: | 4 Aug 2026 |
| Ecosystem dashboard: | [View](https://developer.arm.com/ecosystem-dashboard/linux?package=powershell) |

This guide shows you how to install and use the tool with the most common configuration. For advanced options and complete reference information, see the official documentation. Some install guides also include optional next steps to help you explore related workflows or integrations.

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.

There are multiple ways to install PowerShell. In this guide, you’ll learn how to install PowerShell on an Arm Linux computer.

## Before you begin

Confirm you are using an Arm machine by running:

```bash
uname -m
```

The output should be:

```bash
__output__ aarch64
```

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

## Install PowerShell on Arm Linux

> **Note**  
> 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:

> **Note**  
> The following commands use PowerShell version 7.6.4. The same commands work with other versions. Replace the file used in these steps with the file for your version of choice. To find the latest version, see [PowerShell releases](https://github.com/PowerShell/PowerShell/releases).

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

```bash
# Download the powershell '.tar.gz' archive
curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.6.4/powershell-7.6.4-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
```

2. Confirm the `pwsh` executable is in the search path:

```bash
which pwsh
```

The path is printed:

```bash
__output__ /usr/bin/pwsh
```

3. Verify the installed version:

```bash
pwsh --version
```

The output is similar to:

```bash
__output__ PowerShell 7.6.4
```

## Verify PowerShell installation

To verify your installation of PowerShell, print a hello world message using `pwsh`:

```bash
pwsh -c Write-Host Hello Arm Linux world!
```

The output is similar to:

```bash
__output__ Hello Arm Linux world!
```

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