File tree Expand file tree Collapse file tree
reference/docs-conceptual/install Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22description : How to install PowerShell on Alpine Linux
3- ms.date : 12/15/2025
3+ ms.date : 02/04/2026
44title : Install PowerShell on Alpine Linux
55---
66# Install PowerShell on Alpine Linux
@@ -28,6 +28,7 @@ to the package depends on the version of PowerShell you want to install.
2828Then, in the terminal, execute the following shell commands to install PowerShell 7.4:
2929
3030``` sh
31+ #! /bin/bash
3132# install the requirements
3233sudo apk add --no-cache \
3334 ca-certificates \
Original file line number Diff line number Diff line change 11---
22description : How to install PowerShell on Debian Linux
3- ms.date : 12/15/2025
3+ ms.date : 02/04/2026
44title : Install PowerShell on Debian
55---
66# Install PowerShell on Debian
@@ -31,6 +31,7 @@ Installing PowerShell from PMC is the preferred method of installation.
3131> This script only works for supported versions of Debian.
3232
3333``` sh
34+ #! /bin/bash
3435# ##################################
3536# Prerequisites
3637
@@ -81,6 +82,7 @@ The following shell script downloads and installs the current release of PowerSh
8182change the URL to download the version of PowerShell that you want to install.
8283
8384``` sh
85+ #! /bin/bash
8486# ##################################
8587# Prerequisites
8688
Original file line number Diff line number Diff line change 11---
22description : Information about installing PowerShell on Red Hat Enterprise Linux (RHEL)
3- ms.date : 12/15/2025
3+ ms.date : 02/04/2026
44title : Installing PowerShell on Red Hat Enterprise Linux (RHEL)
55---
66# Installing PowerShell on Red Hat Enterprise Linux (RHEL)
@@ -31,6 +31,7 @@ Installing PowerShell from PMC is the preferred method of installation.
3131> This script only works for supported versions of RHEL that are published to PMC.
3232
3333``` sh
34+ #! /bin/bash
3435# ##################################
3536# Prerequisites
3637
Original file line number Diff line number Diff line change 11---
22description : Information about installing PowerShell on Ubuntu
3- ms.date : 12/15/2025
3+ ms.date : 02/04/2026
44title : Installing PowerShell on Ubuntu
55---
66# Installing PowerShell on Ubuntu
@@ -31,6 +31,7 @@ Installing PowerShell from PMC is the preferred method of installation.
3131> This script only works for supported versions of Ubuntu.
3232
3333``` sh
34+ #! /bin/bash
3435# ##################################
3536# Prerequisites
3637
@@ -93,6 +94,7 @@ The following shell script downloads and installs the current preview release of
9394change the URL to download the version of PowerShell that you want to install.
9495
9596``` sh
97+ #! /bin/bash
9698# ##################################
9799# Prerequisites
98100
You can’t perform that action at this time.
0 commit comments