pkg.soopen package index

brew / rank 321

Install powershell with Homebrew, apk, MacPorts, Nix, chocolatey, winget, scoop

Command-line shell and scripting language. Version 7.6.9 via Homebrew; verified 2026-10-26. Also installable with nix: nix profile install nixpkgs#powershell.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install powershell

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install powershell

MacPorts ports tree · shells/powershell/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add powershell

Alpine Linux edge package indexes · powershell · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#powershell

nixpkgs package indexes · pkgs/by-name/po/powershell/package.nix · source: api.github.com

Windows

Chocolateyverified · 92%
choco install PowerShell

Chocolatey community package catalog · PowerShell · source: community.chocolatey.org

Windows Package Managerverified · 92%
winget install --id Microsoft.PowerShell -e

Windows Package Manager source index · Microsoft.PowerShell · source: cdn.winget.microsoft.com

Scoopverified · 92%
scoop install main/pwsh

Scoop official bucket manifest trees · bucket/pwsh.json · source: api.github.com

overview

Package summary

Command-line shell and scripting language

Commands and aliases

  • pwsh

history

Project history and usage

PowerShell is Microsoft's cross-platform command shell, scripting language, and automation framework, distinguished by its pipeline of structured .NET objects.

Project history

Development began in 2002 from Jeffrey Snover's automation vision, originally described under the Monad name. Windows PowerShell 1.0 shipped in November 2006.

Successive Windows releases expanded remoting, workflows, modules, Desired State Configuration, and deep integration with Microsoft server products.

In 2016 Microsoft made PowerShell open source and available on Linux and macOS. PowerShell 6, released in 2018, established the cross-platform .NET Core-based product line; PowerShell 7 continued that line on modern .NET.

Adoption history

PowerShell became a central Windows administration interface through its integration with Microsoft operating systems and server products. Its module ecosystem expanded the object-oriented command model across Windows, Azure, Exchange, SQL Server, and third-party platforms.

Microsoft open-sourced PowerShell and introduced Linux and macOS support in 2016. The cross-platform line subsequently moved onto .NET Core and adopted the `pwsh` executable, making the language usable in heterogeneous administration and CI/CD environments.

PowerShell is distributed through native and third-party package ecosystems across Windows, macOS, Linux, and container workflows.

How it is used

Users run `pwsh` interactively or execute `.ps1` scripts for system administration, application deployment, testing, cloud operations, and CI/CD automation.

Profile scripts customize startup behavior by defining aliases, functions, variables, modules, drives, and preferences. `$PROFILE` exposes the exact host- and user-specific paths for the current session.

Commands emit .NET objects into the pipeline, allowing later commands to filter, sort, group, format, or modify structured values without parsing display text.

Why package nerds care

PowerShell replaced the traditional text-only Unix pipeline assumption with pipelines of structured .NET objects. Commands can pass typed values without repeatedly serializing and reparsing columns of text.

Its verb-noun cmdlet convention, discoverable help system, remoting, module ecosystem, and object pipeline created a distinctive administration culture that spans interactive shell use, scripts, infrastructure automation, and configuration management.

Package users should distinguish current cross-platform PowerShell, launched as `pwsh`, from the Windows PowerShell 5.1 component that remains tied to Windows.

Timeline

  • 2002: Development of the technology that became PowerShell began.
  • 2006: Windows PowerShell 1.0 was released.
  • 2016: Microsoft open-sourced PowerShell and announced Linux and macOS support.
  • 2018: PowerShell 6.0 established the cross-platform .NET Core-based release line.
  • 2020: PowerShell 7.0 began the modern PowerShell 7 release line.

Related projects

  • Windows PowerShell is the Windows-integrated predecessor and remains a distinct, supported operating-system component.
  • The PowerShell extension for Visual Studio Code supplies an editor, integrated console, IntelliSense, and debugging workflow for PowerShell scripts.
  • PowerShell Desired State Configuration extends the language into declarative configuration management.

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:scripting language,shell

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 5 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Linux
~/.config/powershell/profile.ps1~/.config/powershell/Microsoft.PowerShell_profile.ps1
macOS
~/.config/powershell/profile.ps1~/.config/powershell/Microsoft.PowerShell_profile.ps1
Windows
$HOME\Documents\PowerShell\Profile.ps1$HOME\Documents\PowerShell\Microsoft.PowerShell_profile.ps1

executables

Installed executables

CommandKindExposureNote
pwshcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-11-04
manager version7.6.9
manager updated2026-10-26
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/PowerShell/PowerShell

install metadata

Package metadata

Package keybrew:powershell
Version7.6.9
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/powershell
Homepagehttps://github.com/PowerShell/PowerShell
Repositoryhttps://github.com/PowerShell/PowerShell
LicenseMIT
Source archivehttps://github.com/PowerShell/PowerShell.git
Last updated2026-10-26T14:49:07Z
Pulseupdated
Dependenciesdotnet
Bottleavailable (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepowershell
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

powershell

nix profile install nixpkgs#powershell
  • normalized package name match
  • Matched by: Powershell
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/po/powershell/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

powershell 7.6.1-r0

A cross-platform automation and configuration tool/framework

https://github.com/PowerShell/PowerShell

sudo apk add powershell
  • License: MIT
  • Architecture: x86_64
  • Source Package: powershell
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Powershell
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: powershell from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
MacPorts95%

powershell

sudo port install powershell
  • normalized package name match
  • Matched by: Powershell
MacPorts ports tree · api.github.com · MacPorts ports tree: shells/powershell/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

PowerShell

choco install PowerShell
  • normalized package name match
  • Matched by: Powershell
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: PowerShell from https://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','pnpm'
winget95%

Microsoft.PowerShell

winget install --id Microsoft.PowerShell -e
  • normalized package name match
  • Matched by: Powershell
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Microsoft.PowerShell from https://cdn.winget.microsoft.com/cache/source.msix
Chocolatey92%

pwsh

choco install pwsh
  • installed executable or alias match
  • Matched by: Pwsh
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: pwsh from https://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','privazer'
Scoop92%

main/pwsh

scoop install main/pwsh
  • installed executable or alias match
  • Matched by: Pwsh
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/pwsh.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation