# Install powershell@preview with Homebrew Cask

Command-line shell and scripting language. Version 7.7.0-preview.3 via Homebrew Cask; verified from local package data. Also installable with nix: nix profile install nixpkgs#powershell.

## Install

```sh
sudo av install cask:powershell@preview
```

Additional install commands:

### macOS

- Homebrew Cask (100%):

```sh
brew install --cask powershell@preview
```

  Evidence: local Homebrew cask metadata

## Package facts

- **Package key:** cask:powershell@preview
- **Package manager:** Homebrew Cask
- **Package manager page:** <https://formulae.brew.sh/cask/powershell@preview>
- **Version:** 7.7.0-preview.3
- **Source summary:** Command-line shell and scripting language
- **Homepage:** <https://github.com/PowerShell/PowerShell>
- **Repository:** <https://github.com/PowerShell/PowerShell>
- **Source archive:** <https://github.com/PowerShell/PowerShell/releases/download/v7.7.0-preview.3/powershell-7.7.0-preview.3-osx-arm64.pkg>
- **Generated:** 2026-08-04T22:13:35+00:00

## Install behavior

- Post-install hook: not defined
- Caveats: To use Homebrew in PowerShell, set: Add-Content -Path $PROFILE.CurrentUserAllHosts -Value '$($HOMEBREW_PREFIX/bin/brew shellenv) | Invoke-Expression'
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 7.7.0-preview.3
- Local data: ok
- Upstream repository: https://github.com/PowerShell/PowerShell
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for powershell@preview. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew cask API
- **Tap:** homebrew/cask
- **Full Token:** powershell@preview
- **Names:** PowerShell
- **Depends On:** Macos: >=: 11
- **Artifacts:** Pkg: 1, Uninstall: 1, Zap: 1
- **Deprecated:** no
- **Disabled:** no

## Other Package-Manager Records

- Nix - powershell: versioned package alias match | nixpkgs package indexes: pkgs/by-name/po/powershell/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - powershell - 7.6.1-r0: versioned package alias match | Alpine Linux edge package indexes: powershell from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A cross-platform automation and configuration tool/framework | https://github.com/PowerShell/PowerShell
- MacPorts - powershell: versioned package alias match | MacPorts ports tree: shells/powershell/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - PowerShell: versioned package alias match | Chocolatey community package catalog: PowerShell from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','poshgit'
- winget - Microsoft.PowerShell: versioned package alias match | Windows Package Manager source index: Microsoft.PowerShell from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Homebrew Cask packages](https://pkg.so/homebrew-cask-packages/) - Generated from Homebrew Cask package-manager metadata.

## Sources

- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
