powershell (deprecated)

Disable date: 2026-09-01

Install command:
brew install --cask powershell

Name: PowerShell

Command-line shell and scripting language

https://github.com/PowerShell/PowerShell

Cask JSON API: /api/cask/powershell.json

Cask code: powershell.rb on GitHub

Current version: 7.5.4

Requirements: macOS >= 10.15

To use Homebrew in PowerShell, run the following in a PowerShell session:
    New-Item -Path (Split-Path -Parent -Path $PROFILE.CurrentUserAllHosts) -ItemType Directory -Force
    Add-Content -Path $PROFILE.CurrentUserAllHosts -Value '$($HOMEBREW_PREFIX/bin/brew shellenv) | Invoke-Expression'

Versions:

Intel tahoe 7.5.4
sequoia 7.5.4
sonoma 7.5.4
ventura 7.5.4
monterey 7.5.4
big sur 7.5.4
catalina 7.5.4

Analytics:

Installs (30 days)
powershell 55,710
Installs (90 days)
powershell 198,011
Installs (365 days)
powershell 571,664