Skip to content

Fixes #12841 - Update macOS install docs and move Brew to alternate doc#12842

Merged
sdwheeler merged 3 commits intoMicrosoftDocs:mainfrom
sdwheeler:sdw-w560386-i12841-macos-brew
Mar 11, 2026
Merged

Fixes #12841 - Update macOS install docs and move Brew to alternate doc#12842
sdwheeler merged 3 commits intoMicrosoftDocs:mainfrom
sdwheeler:sdw-w560386-i12841-macos-brew

Conversation

@sdwheeler
Copy link
Copy Markdown
Collaborator

@sdwheeler sdwheeler commented Mar 11, 2026

PR Summary

Update macOS install docs and move Brew to alternate doc

PR Checklist

  • Descriptive Title: This PR's title is a synopsis of the changes it proposes.
  • Summary: This PR's summary describes the scope and intent of the change.
  • Contributor's Guide: I have read the contributor's guide.
  • Style: This PR adheres to the style guide.

Copilot AI review requested due to automatic review settings March 11, 2026 21:08
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the installation documentation to address broken macOS Homebrew instructions by moving Homebrew guidance out of the main macOS install article and consolidating “alternate install methods” content.

Changes:

  • Updates macOS install instructions to focus on manual pkg/tar and points readers to an alternate methods page.
  • Expands/retitles the alternate install methods doc to include macOS Homebrew plus existing Linux alternate methods.
  • Updates TOC and adds a redirection entry for the prior Linux alternate install page.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
reference/docs-conceptual/toc.yml Updates TOC link for “Alternate ways to install on Linux” to point to the new alternate-install-methods doc.
reference/docs-conceptual/install/install-powershell-on-macos.md Removes embedded Homebrew instructions; updates links and guidance; points to alternate-install-methods.
reference/docs-conceptual/install/install-powershell-on-linux.md Renumbers link references (but still links to the old alternate page).
reference/docs-conceptual/install/alternate-install-methods.md Retitles and expands alternate install guidance, adding macOS Homebrew section.
redir/.openpublishing.redirection.json Adds redirect from the old install-other-linux.md path to the new alternate-install-methods page.
Comments suppressed due to low confidence (4)

reference/docs-conceptual/install/alternate-install-methods.md:74

  • Grammar issue: "There are two PowerShell for Linux is published..." should be rewritten (for example, "Two PowerShell snaps are published..."), since the current sentence is ungrammatical.
    reference/docs-conceptual/install/alternate-install-methods.md:230
  • The link reference section contains duplicate definitions for the same numeric labels (an older block followed by an "updated" block). This can produce incorrect link targets and can fail link/lint validation. Please remove the obsolete block and keep a single, consistent set of link reference definitions.
    reference/docs-conceptual/install/install-powershell-on-macos.md:165
  • This uninstall guidance only covers pkg/tar installs (rm of /usr/local/...); however, the article also documents installing via .NET Global tool. Please add uninstall instructions for the .NET tool method or clearly scope this section to pkg/tar installs so readers don't apply the rm command incorrectly.
If you manually installed PowerShell 7, you must manually remove it. The following command removes
the symbolic link and PowerShell files.

```sh
sudo rm -rf /usr/local/bin/pwsh /usr/local/microsoft/powershell

reference/docs-conceptual/install/alternate-install-methods.md:12

  • The intro states these methods "aren't officially supported by Microsoft", but later sections explicitly describe Microsoft support boundaries (for example, supported Snap channels). This is internally inconsistent; please reword the intro to reflect per-method support status (or remove/adjust the blanket unsupported claim).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 155 to +157
## Update PowerShell 7

Run the following commands to update the installed version of PowerShell to the latest release.

```sh

brew update
brew upgrade powershell
```

> [!NOTE]
> When updating to a newer version of PowerShell, use the same method, cask or the tap, that you
> used to perform the initial install. If you use a different method, opening a new pwsh session
> continues to use the older version of PowerShell.
>
> If you decide to use different methods, there are ways to correct the issue using the
> [Homebrew link method][05].
To update PowerShell, download the new version of the package or binary archive and install it.
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The doc includes installation via .NET Global tool, but the "Update PowerShell 7" guidance only mentions downloading a new package/archive. Please either add update instructions for the .NET tool installation method (for example, using dotnet tool update) or clarify that this update section only applies to pkg/tar installs.

Copilot uses AI. Check for mistakes.
Comment thread reference/docs-conceptual/install/install-powershell-on-linux.md Outdated
Comment thread reference/docs-conceptual/toc.yml Outdated
Comment thread redir/.openpublishing.redirection.json Outdated
Comment thread reference/docs-conceptual/install/install-powershell-on-macos.md Outdated
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit d8f653a:

✅ Validation status: passed

File Status Preview URL Details
redir/.openpublishing.redirection.json ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/install/alternate-install-methods.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/install/install-other-linux.md ✅Succeeded n/a (file deleted or renamed)
reference/docs-conceptual/install/install-powershell-on-linux.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/install/install-powershell-on-macos.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/toc.yml ✅Succeeded View (>=powershell-5.1)

For more details, please refer to the build report.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit c87b88e:

✅ Validation status: passed

File Status Preview URL Details
redir/.openpublishing.redirection.json ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/install/alternate-install-methods.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/install/install-other-linux.md ✅Succeeded n/a (file deleted or renamed)
reference/docs-conceptual/install/install-powershell-on-linux.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/install/install-powershell-on-macos.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/toc.yml ✅Succeeded View (>=powershell-5.1)

For more details, please refer to the build report.

Copy link
Copy Markdown
Contributor

@michaeltlombardi michaeltlombardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No additional notes not already covered by copilot, content LGTM

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 9dbbdd0:

⚠️ Validation status: warnings

File Status Preview URL Details
reference/docs-conceptual/install/install-powershell-on-linux.md ⚠️Warning View (>=powershell-5.1) Details
redir/.openpublishing.redirection.json ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/install/alternate-install-methods.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/install/install-other-linux.md ✅Succeeded n/a (file deleted or renamed)
reference/docs-conceptual/install/install-powershell-on-macos.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/toc.yml ✅Succeeded View (>=powershell-5.1)

reference/docs-conceptual/install/install-powershell-on-linux.md

  • Line 71, Column 18: [Warning: file-not-found - See documentation] Invalid file link: 'install/alternate-install-methods.md'.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@sdwheeler sdwheeler merged commit 92131d9 into MicrosoftDocs:main Mar 11, 2026
4 checks passed
@sdwheeler sdwheeler deleted the sdw-w560386-i12841-macos-brew branch March 12, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PowerShell MacOS installation instructions do not work

3 participants