# 使用 Homebrew, apt, MacPorts 安装 posh

查看 posh 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:posh
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install posh
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install posh
```

  证据: MacPorts ports tree: shells/posh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install posh
```

  证据: Debian stable package indexes: posh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:posh
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/posh>
- **版本:** 0.14.5
- **来源摘要:** Policy-compliant ordinary shell
- **主页:** <https://salsa.debian.org/clint/posh>
- **上游文档:** <https://salsa.debian.org/clint/posh>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://salsa.debian.org/clint/posh/-/archive/debian/0.14.5/posh-debian-0.14.5.tar.bz2>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- posh (cli)
- posh (别名)

## 构建依赖

- autoconf
- automake

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.14.5
- 本地数据: OK
- 上游仓库: https://salsa.debian.org/clint/posh
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** posh
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Debian apt - posh - 0.14.1: normalized package name match | Debian stable package indexes: posh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Policy-compliant Ordinary SHell
- Ubuntu apt - posh - 0.14.1: normalized package name match | Ubuntu 24.04 LTS package indexes: posh from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Policy-compliant Ordinary SHell
- MacPorts - posh: normalized package name match | MacPorts ports tree: shells/posh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [autoconf](https://pkg.so/zh-hans/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/zh-hans/brew/automake/) - Build dependency declared by Homebrew.
- [dash-shell](https://pkg.so/zh-hans/brew/dash-shell/) - Shares pkgdb curated category or tags: cli, posix, shell, system.
- [murex](https://pkg.so/zh-hans/brew/murex/) - Shares pkgdb curated category or tags: cli, scripting, shell, system.
- [nsh](https://pkg.so/zh-hans/brew/nsh/) - Shares pkgdb curated category or tags: cli, posix, shell, system.
- [bash](https://pkg.so/zh-hans/brew/bash/) - Shares pkgdb curated category or tags: cli, shell, system.
- [nushell](https://pkg.so/zh-hans/brew/nushell/) - Shares pkgdb curated category or tags: cli, shell, system.
- [thefuck](https://pkg.so/zh-hans/brew/thefuck/) - Shares pkgdb curated category or tags: cli, shell, system.
- [brush](https://pkg.so/zh-hans/brew/brush/) - Shares pkgdb curated category or tags: cli, shell, system.
- [elvish](https://pkg.so/zh-hans/brew/elvish/) - Shares pkgdb curated category or tags: cli, shell, system.

## Combined YAML source

View the package source record on GitHub. [combined/posh.yml](https://github.com/mxcl/pkgdb/blob/main/combined/posh.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
