Skip to content

Commit 7bdebdd

Browse files
authored
Fix version info in install docs (#11584)
1 parent 236615e commit 7bdebdd

File tree

8 files changed

+18
-59
lines changed

8 files changed

+18
-59
lines changed

reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Information about installing PowerShell on Windows
3-
ms.date: 11/18/2024
3+
ms.date: 12/12/2024
44
title: Installing PowerShell on Windows
55
---
66
# Installing PowerShell on Windows
@@ -261,7 +261,7 @@ If there is an available upgrade, the output indicates the latest available vers
261261

262262
> [!NOTE]
263263
> When upgrading, PowerShell won't upgrade from an LTS version to a non-LTS version. It only
264-
> upgrades to the latest version of LTS, for example, from 7.2.3 to 7.2.24. To upgrade from an
264+
> upgrades to the latest version of LTS, for example, from 7.4.3 to 7.4.6. To upgrade from an
265265
> LTS release to a newer stable version or the next LTS, you need to install the new version with
266266
> the MSI for that release.
267267
>

reference/docs-conceptual/install/Installing-PowerShell-on-macOS.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Information about installing PowerShell on macOS
3-
ms.date: 11/18/2024
3+
ms.date: 12/12/2024
44
title: Installing PowerShell on macOS
55
---
66

@@ -119,10 +119,7 @@ are:
119119
- PowerShell 7.4
120120
- x64 processors - [powershell-7.4.6-osx-x64.pkg][20]
121121
- Arm64 processors - [powershell-7.4.6-osx-arm64.pkg][18]
122-
- PowerShell 7.2 (LTS)
123-
- x64 processors - [powershell-7.2.24-osx-x64.pkg][16]
124-
- Arm64 processors - [powershell-7.2.24-osx-arm64.pkg][14]
125-
- PowerShell 7.5-preview
122+
- PowerShell 7.5-rc.1
126123
- x64 processors - [powershell-7.5.0-rc.1-osx-x64.pkg][24]
127124
- Arm64 processors - [powershell-7.5.0-rc.1-arm64.pkg][22]
128125

@@ -191,9 +188,6 @@ current versions are:
191188
- PowerShell 7.4 (LTS)
192189
- x64 processors - [powershell-7.4.6-osx-x64.tar.gz][21]
193190
- Arm64 processors - [powershell-7.4.6-osx-arm64.tar.gz][19]
194-
- PowerShell 7.2 (LTS)
195-
- x64 processors - [powershell-7.2.24-osx-x64.tar.gz][17]
196-
- Arm64 processors - [powershell-7.2.24-osx-arm64.tar.gz][15]
197191
- PowerShell 7.5-preview
198192
- x64 processors - [powershell-7.5.0-rc.1-osx-x64.tar.gz][25]
199193
- Arm64 processors - [powershell-7.5.0-rc.1-osx-arm64.tar.gz][23]
@@ -282,10 +276,6 @@ support those methods.
282276
[11]: https://docs.brew.sh/Manpage#link-ln-options-formula
283277
[12]: https://github.com/Homebrew
284278
[13]: https://github.com/Homebrew/homebrew-cask
285-
[14]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.24/powershell-7.2.24-osx-arm64.pkg
286-
[15]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.24/powershell-7.2.24-osx-arm64.tar.gz
287-
[16]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.24/powershell-7.2.24-osx-x64.pkg
288-
[17]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.24/powershell-7.2.24-osx-x64.tar.gz
289279
[18]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6-osx-arm64.pkg
290280
[19]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6-osx-arm64.tar.gz
291281
[20]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6-osx-x64.pkg

reference/docs-conceptual/install/PowerShell-on-ARM.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,6 @@ Arm versions of PowerShell 7.4 can be installed on the following platforms:
2727

2828
Support is based on the [.NET 8.0 Supported OS Lifecycle Policy][03].
2929

30-
## PowerShell 7.2
31-
32-
Arm versions of PowerShell 7.2 can be installed on the following platforms:
33-
34-
| OS | Architectures | Lifecycle |
35-
| -------------------------------- | ------------- | -------------------------------------- |
36-
| Windows 11 Client Version 22000+ | Arm64 | [Windows][05] |
37-
| Windows 10 Client Version 1607+ | Arm64 | [Windows][05] |
38-
| macOS | Arm64 | [macOS][04] |
39-
| Raspberry Pi OS (Debian 12) | Arm32 | [Raspberry Pi OS][08] and [Debian][06] |
40-
| Ubuntu 22.04, 20.04 | Arm32 | [Ubuntu][07] |
41-
42-
Support is based on the [.NET 6.0 Supported OS Lifecycle Policy][02].
43-
4430
## Installing PowerShell on Arm-based systems
4531

4632
For installation instructions, see the following articles:
@@ -65,7 +51,6 @@ Raspberry Pi
6551

6652
<!-- link references -->
6753
[01]: community-support.md#raspberry-pi-os
68-
[02]: https://github.com/dotnet/core/blob/main/release-notes/6.0/supported-os.md
6954
[03]: https://github.com/dotnet/core/blob/main/release-notes/8.0/supported-os.md
7055
[04]: https://support.apple.com/macos
7156
[05]: https://support.microsoft.com/help/13853/windows-lifecycle-fact-sheet

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Information about installing PowerShell on Alpine Linux
3-
ms.date: 11/18/2024
3+
ms.date: 12/12/2024
44
title: Installing PowerShell on Alpine Linux
55
---
66
# Installing PowerShell on Alpine Linux
@@ -21,7 +21,6 @@ Installation on Alpine is based on downloading tar.gz package from the [releases
2121
to the package depends on the version of PowerShell you want to install.
2222

2323
- PowerShell 7.4.6 - `https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6-linux-musl-x64.tar.gz`
24-
- PowerShell 7.2.24 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.24/powershell-7.2.24-linux-alpine-x64.tar.gz`
2524
- PowerShell 7.5.0-rc.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-rc.1/powershell-7.5.0-rc.1-linux-musl-x64.tar.gz`
2625

2726
Then, in the terminal, execute the following shell commands to install PowerShell 7.4:

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Information about installing PowerShell on Debian Linux
3-
ms.date: 11/18/2024
3+
ms.date: 12/12/2024
44
title: Installing PowerShell on Debian
55
---
66
# Installing PowerShell on Debian
@@ -17,7 +17,7 @@ All packages are available on our GitHub [releases][02] page. Before installing,
1717
1818
Debian uses APT (Advanced Package Tool) as a package manager.
1919

20-
## Installation on Debian 10 or 11 via the Package Repository
20+
## Installation on Debian 11 or 12 via the Package Repository
2121

2222
Microsoft builds and supports a variety of software products for Linux systems and makes them
2323
available via Linux packaging clients (apt, dnf, yum, etc). These Linux software packages are hosted
@@ -71,8 +71,6 @@ The link to the current version is:
7171

7272
- PowerShell 7.4 (LTS) universal package for supported versions of Debian
7373
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell_7.4.6-1.deb_amd64.deb`
74-
- PowerShell 7.2 (LTS) universal package for supported versions of Debian
75-
- `https://github.com/PowerShell/PowerShell/releases/download/v7.2.24/powershell_7.2.24-1.deb_amd64.deb`
7674
- PowerShell 7.5-preview universal package for supported versions of Debian
7775
- `https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-rc.1/powershell-preview_7.5.0-rc.1-1.deb_amd64.deb`
7876

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

Lines changed: 7 additions & 18 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: 11/18/2024
3+
ms.date: 12/12/2024
44
title: Installing PowerShell on Red Hat Enterprise Linux (RHEL)
55
---
66
# Installing PowerShell on Red Hat Enterprise Linux (RHEL)
@@ -35,9 +35,9 @@ Installing PowerShell from PMC is the preferred method of installation.
3535

3636
# Get version of RHEL
3737
source /etc/os-release
38-
if [ $(bc<<<"$VERSION_ID < 8") = 1 ]
38+
if [ ${VERSION_ID%.*} -lt 8 ]
3939
then majorver=7
40-
elif [ $(bc<<<"$VERSION_ID < 9") = 1 ]
40+
elif [ ${VERSION_ID%.*} -lt 9 ]
4141
then majorver=8
4242
else majorver=9
4343
fi
@@ -51,19 +51,10 @@ sudo rpm -i packages-microsoft-prod.rpm
5151
# Delete the downloaded package after installing
5252
rm packages-microsoft-prod.rpm
5353

54-
# RHEL 7.x uses yum and RHEL 8+ uses dnf
55-
if [ $(bc<<<"$majorver < 8") ]
56-
then
57-
# Update package index files
58-
sudo yum update
59-
# Install PowerShell
60-
sudo yum install powershell -y
61-
else
62-
# Update package index files
63-
sudo dnf update
64-
# Install PowerShell
65-
sudo dnf install powershell -y
66-
fi
54+
# Update package index files
55+
sudo dnf update
56+
# Install PowerShell
57+
sudo dnf install powershell -y
6758
```
6859

6960
## Installation via direct download
@@ -75,8 +66,6 @@ The link to the current version is:
7566

7667
- PowerShell 7.4.6 universal package for supported versions of RHEL
7768
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6-1.rh.x86_64.rpm`
78-
- PowerShell 7.2.24 universal package for supported versions of RHEL
79-
- `https://github.com/PowerShell/PowerShell/releases/download/v7.2.24/powershell-7.2.24-1.rh.x86_64.rpm`
8069
- PowerShell 7.5.0-rc.1 universal package for supported versions of RHEL
8170
- `https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-rc.1/powershell-preview-7.5.0_preview.2-1.rh.x86_64.rpm`
8271

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

Lines changed: 1 addition & 3 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: 11/18/2024
3+
ms.date: 12/12/2024
44
title: Installing PowerShell on Ubuntu
55
---
66
# Installing PowerShell on Ubuntu
@@ -83,8 +83,6 @@ The link to the current version is:
8383

8484
- PowerShell 7.4 (LTS) universal package for supported versions of Ubuntu
8585
- `https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell_7.4.6-1.deb_amd64.deb`
86-
- PowerShell 7.2 (LTS) universal package for supported versions of Ubuntu
87-
- `https://github.com/PowerShell/PowerShell/releases/download/v7.2.24/powershell_7.2.24-1.deb_amd64.deb`
8886
- PowerShell 7.5.0-rc.1 universal package for supported versions of Ubuntu
8987
- `https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-rc.1/powershell-preview_7.5.0-rc.1-1.deb_amd64.deb`
9088

reference/includes/alpine-support.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: sdwheeler
33
ms.author: sewhee
4-
ms.date: 11/02/2024
4+
ms.date: 12/12/2024
55
ms.topic: include
66
---
77
<!-- markdownlint-disable first-line-h1 -->
@@ -11,9 +11,9 @@ Microsoft supports PowerShell until [PowerShell reaches end-of-support][lifecycl
1111
Docker images containing PowerShell 7.4 and PowerShell 7.5-preview for x64 are available from the
1212
[Microsoft Artifact Registry][mcr] for the following versions of Alpine:
1313

14-
- Alpine 3.17 - OS support ends on 2024-11-22
14+
- Alpine 3.20 - OS support ends on 2026-04-01
1515

16-
Docker images of PowerShell aren't available for Alpine 3.18, 3.19, and 3.20.
16+
Docker images of PowerShell aren't available for Alpine 3.21.
1717

1818
> [!IMPORTANT]
1919
> The Docker images are built from official operating system (OS) images provide by the OS

0 commit comments

Comments
 (0)