Skip to content

Commit 9887d5a

Browse files
sdwheelerCopilot
andauthored
Update install script disclaimer (#12909)
* Update install script disclaimer * Update reference/docs-conceptual/install/install-debian.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8c99632 commit 9887d5a

File tree

3 files changed

+22
-16
lines changed

3 files changed

+22
-16
lines changed

reference/docs-conceptual/install/install-debian.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,37 @@
11
---
22
description: How to install PowerShell on Debian Linux
3-
ms.date: 03/18/2026
3+
ms.date: 03/31/2026
44
title: Install PowerShell 7 on Debian
55
---
66
# Install PowerShell 7 on Debian
77

88
There are multiple package versions of PowerShell 7 that can be installed. This article focuses on
99
installing the latest stable release package. For more information about the package versions, see
10-
the [PowerShell Support Lifecycle][05] article.
10+
the [PowerShell Support Lifecycle][06] article.
1111

1212
Newer versions of PowerShell 7 replace existing previous versions of PowerShell 7. Preview versions
1313
of PowerShell can be installed side-by-side with other versions of PowerShell. Newer preview
1414
versions replace existing previous preview versions. If you need to run PowerShell 7.5 side-by-side
15-
with a previous version, reinstall the previous version using the [binary archive][04] method.
15+
with a previous version, reinstall the previous version using the [binary archive][05] method.
1616

1717
## Choose an installation method
1818

1919
On Debian Linux, you can install PowerShell using the universal `.deb` package from the Microsoft
20-
package repository or by downloading a file from the GitHub [releases][01] page.
20+
package repository or by downloading a file from the GitHub [releases][02] page.
2121

2222
### Install PowerShell 7 from the Package Repository
2323

2424
Microsoft builds and supports a variety of software products for Linux systems and makes them
2525
available via Linux packaging clients (apt, dnf, yum, etc). These Linux software packages are hosted
26-
on the _Linux package repository for Microsoft products_, [https://packages.microsoft.com][02], also
26+
on the _Linux package repository for Microsoft products_, [https://packages.microsoft.com][03], also
2727
known as _PMC_.
2828

2929
Installing PowerShell from PMC is the preferred method of installation.
3030

3131
> [!NOTE]
3232
> This script only works for supported versions of Debian that have a package published to the
33-
> Microsoft package repository.
33+
> Microsoft package repository. For other supported versions of Debian, use the
34+
> [manual installation method][01].
3435
3536
```sh
3637
#!/bin/bash
@@ -131,7 +132,7 @@ run `pwsh-preview`.
131132
The profiles respect PowerShell's per-host configuration, so the default host-specific profiles
132133
exists at `Microsoft.PowerShell_profile.ps1` in the same locations.
133134

134-
PowerShell respects the [XDG Base Directory Specification][03] on Linux.
135+
PowerShell respects the [XDG Base Directory Specification][04] on Linux.
135136

136137
## Uninstall PowerShell 7
137138

@@ -150,8 +151,9 @@ installation available from other third-party sources. While those tools and met
150151
Microsoft can't support those methods.
151152

152153
<!-- link references -->
153-
[01]: https://github.com/PowerShell/PowerShell/releases
154-
[02]: https://packages.microsoft.com
155-
[03]: https://specifications.freedesktop.org/basedir/latest/
156-
[04]: install-other-linux.md#binary-archives
157-
[05]: PowerShell-Support-Lifecycle.md
154+
[01]: #manually-download-and-install-powershell-7
155+
[02]: https://github.com/PowerShell/PowerShell/releases
156+
[03]: https://packages.microsoft.com
157+
[04]: https://specifications.freedesktop.org/basedir/latest/
158+
[05]: install-other-linux.md#binary-archives
159+
[06]: PowerShell-Support-Lifecycle.md

reference/docs-conceptual/install/install-rhel.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Information about installing PowerShell on Red Hat Enterprise Linux (RHEL)
3-
ms.date: 03/18/2026
3+
ms.date: 03/31/2026
44
title: Install PowerShell 7 on Red Hat Enterprise Linux (RHEL)
55
---
66
# Install PowerShell 7 on Red Hat Enterprise Linux (RHEL)
@@ -29,7 +29,8 @@ Installing PowerShell from PMC is the preferred method of installation.
2929

3030
> [!NOTE]
3131
> This script only works for supported versions of RHEL that have a package published to the
32-
> Microsoft package repository.
32+
> Microsoft package repository. For other supported versions of RHEL, use the
33+
> [manual installation method][04].
3334
3435
```sh
3536
#!/bin/bash
@@ -122,3 +123,4 @@ can't support those methods.
122123
[01]: https://packages.microsoft.com
123124
[02]: https://specifications.freedesktop.org/basedir/latest/
124125
[03]: PowerShell-Support-Lifecycle.md
126+
[04]: #manually-download-and-install-powershell-7

reference/docs-conceptual/install/install-ubuntu.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Information about installing PowerShell on Ubuntu
3-
ms.date: 03/12/2026
3+
ms.date: 03/31/2026
44
title: Install PowerShell 7 on Ubuntu
55
---
66
# Install PowerShell 7 on Ubuntu
@@ -30,7 +30,8 @@ Installing PowerShell from PMC is the preferred method of installation.
3030

3131
> [!NOTE]
3232
> This script only works for supported versions of Ubuntu that have a package published to the
33-
> Microsoft package repository.
33+
> Microsoft package repository. For other versions of Ubuntu, use the
34+
> [manual installation method][08].
3435
3536
```sh
3637
#!/bin/bash
@@ -172,3 +173,4 @@ Microsoft can't support those methods.
172173
[05]: https://specifications.freedesktop.org/basedir/latest/
173174
[06]: install-other-linux.md#binary-archives
174175
[07]: PowerShell-Support-Lifecycle.md
176+
[08]: #manually-download-and-install-powershell-7

0 commit comments

Comments
 (0)