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.3

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.3
sequoia 7.5.3
sonoma 7.5.3
ventura 7.5.3
monterey 7.5.3
big sur 7.5.3
catalina 7.5.3

Analytics:

Installs (30 days)
powershell 73,503
Installs (90 days)
powershell 214,915
Installs (365 days)
powershell 519,180