Skip to content

powershell on macos using homebrew upgrade to 7.6 #12899

Description

@Jor

Type of issue

Outdated article

Feedback

The homebrew project migrated powershell from "cask" to "fomula" mode in the upgrade from 7.5.6 to 7.6.0.
This means that the install instruction with "--cask" does not install the correct version. The old "cask" version is already deprecated and will be removed soon.

The correct way to install powershell 7.6 (and later) is:

brew install --formula powershell

The correct way to upgrade from previous (cask based) installations to the latest (formulae based):
brew remove --cask powershell brew install --formula powershell

Please update your documentation accordingly.
HTH,
Juergen Meier

Page URL

https://learn.microsoft.com/en-us/powershell/scripting/install/alternate-install-methods?view=powershell-7.6

Content source URL

https://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/docs-conceptual/install/alternate-install-methods.md

Author

Sean Wheeler (@sdwheeler)

Platform Id

3c850702-3566-fa22-47e4-1934ef0ec70c

Document Id

de52bf12-bfdf-d860-ae4e-9a4334ec8c50

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolution-answeredStatus - closed by existing documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions