powershell

Cross-platform command-line shell and scripting language

brewmacoslinux
Try with needOr install directly
Source

About

Command-line shell and scripting language

Commands

pwsh

Examples

Start an interactive PowerShell session$ pwsh
Execute a PowerShell script file$ pwsh -File script.ps1
Run a PowerShell command directly$ pwsh -Command "Get-ChildItem | Select-Object Name"