Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 11 additions & 14 deletions reference/docs-conceptual/install/alternate-install-methods.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Alternate ways to install PowerShell on non-Windows platforms.
ms.date: 03/11/2026
ms.date: 03/12/2026
title: Alternate ways to install PowerShell
---
# Alternate ways to install PowerShell
Expand All @@ -26,9 +26,9 @@ Once `brew` is installed, install PowerShell using the following command:
brew install powershell
```

> [!NOTE]
> The brew formula builds PowerShell from source code rather than installing a package built by
> Microsoft.
> [!IMPORTANT]
> The brew formula is maintained and supported by the Homebrew community. The brew formula builds
> PowerShell from source code rather than installing a package built by Microsoft.

### Update PowerShell 7

Expand Down Expand Up @@ -61,7 +61,7 @@ Use `sudo rm` to remove any other remaining PowerShell files and folders.
Snaps are application packages that are easy to install if your platform supports Snap. You can find
and install Snap packages from the Snap Store.

> [!IMPORTANT]
> [!NOTE]
> The Snap Store contains PowerShell snap packages for many Linux distributions that aren't
> officially supported by Microsoft.

Expand Down Expand Up @@ -97,10 +97,6 @@ sudo snap install powershell --channel=lts/stable --classic
pwsh
```

> [!NOTE]
> Microsoft only supports the `latest/stable` and `lts/stable` channels for the `powershell`
> package. Do not install packages from the other channels.

To install a preview version, use the following method:

```sh
Expand All @@ -112,15 +108,16 @@ pwsh-preview
```

> [!NOTE]
> Microsoft only supports the `latest/stable` channel for the `powershell-preview` package. Do not
> install packages from the other channels.
> Microsoft only supports the `latest/stable` and `lts/stable` channels for the `powershell`
> package. Microsoft only supports the `latest/stable` channel for the `powershell-preview` package.
> Do not install packages from the other channels.

After installation, Snap will automatically upgrade. You can trigger an upgrade using
`sudo snap refresh powershell` or `sudo snap refresh powershell-preview`.

> [!NOTE]
> Snap packages build PowerShell from source code rather than installing a package built by
> Microsoft.
> [!IMPORTANT]
> The Snap packages are maintained and supported by Canonical. Snap packages build PowerShell from
> source code rather than installing a package built by Microsoft.

### Uninstall using Snap

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ information, see [Alternate ways to install PowerShell on Linux][05].
[02]: community-support.md
[03]: install-alpine.md
[04]: install-debian.md
[05]: install/alternate-install-methods.md
[05]: alternate-install-methods.md
[06]: install-rhel.md
[07]: install-ubuntu.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: How to install PowerShell on macOS
ms.date: 03/11/2026
ms.date: 03/12/2026
title: Install PowerShell 7 on macOS
---

Expand Down Expand Up @@ -158,8 +158,8 @@ To update PowerShell, download the new version of the package or binary archive

## Uninstall PowerShell 7

If you manually installed PowerShell 7, you must manually remove it. The following command removes
the symbolic link and PowerShell files.
To uninstall PowerShell you need to delete the application folder and other support files. The
following command removes the symbolic link and PowerShell files.

```sh
sudo rm -rf /usr/local/bin/pwsh /usr/local/microsoft/powershell
Expand Down
4 changes: 2 additions & 2 deletions reference/docs-conceptual/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ items:
href: install/install-ubuntu.md
- name: Community support for Linux
href: install/community-support.md
- name: Alternate ways to install PowerShell
href: install/alternate-install-methods.md
- name: Install PowerShell 7 on macOS
href: install/install-powershell-on-macos.md
- name: Alternate ways to install PowerShell
href: install/alternate-install-methods.md
- name: Install PowerShell on Windows IoT and Nano Server
href: install/install-powershell-on-windows-iot-nano.md
- name: Install PowerShell 7 on Arm
Expand Down