# 使用 Homebrew, apk, Nix 安装 shellspec

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

## 安装

```sh
sudo av install brew:shellspec
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install shellspec
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add shellspec
```

  证据: Alpine Linux edge package indexes: shellspec from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#shellspec
```

  证据: nixpkgs package indexes: pkgs/by-name/sh/shellspec/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:shellspec
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/shellspec>
- **版本:** 0.28.1
- **来源摘要:** BDD unit testing framework for dash, bash, ksh, zsh and all POSIX shells
- **主页:** <https://shellspec.info/>
- **仓库:** <https://github.com/shellspec/shellspec>
- **上游文档:** <https://shellspec.info/>
- **许可证:** MIT
- **源码归档:** <https://github.com/shellspec/shellspec/archive/refs/tags/0.28.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- shellspec (cli)
- shellspec (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.28.1
- 本地数据: OK
- 上游仓库: https://github.com/shellspec/shellspec
- 检测到的最新版本: 0.28.1 (当前)
- 信息: No package-manager update timestamp was available.

## 安全说明

generalized runtime or code generation signal.

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


## 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

- Unix: <project-root>/.shellspec
## 源数据库详情

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

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

- Nix - shellspec: normalized package name match | nixpkgs package indexes: pkgs/by-name/sh/shellspec/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - shellspec - 0.28.1-r0: normalized package name match | Alpine Linux edge package indexes: shellspec from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A full-featured BDD unit testing framework for bash, ksh, zsh, dash and all POSIX shells | https://shellspec.info/


## 相关链接

- [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.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [shunit2](https://pkg.so/zh-hans/brew/shunit2/) - Shares pkgdb curated category or tags: cli, developer-tools, shell, testing.
- [shfmt](https://pkg.so/zh-hans/brew/shfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, posix, shell.
- [beakerlib](https://pkg.so/zh-hans/brew/beakerlib/) - Shares pkgdb curated category or tags: cli, developer-tools, shell, testing.
- [cucumber-ruby](https://pkg.so/zh-hans/brew/cucumber-ruby/) - Shares pkgdb curated category or tags: bdd, cli, developer-tools, testing.
- [atf](https://pkg.so/zh-hans/brew/atf/) - Shares pkgdb curated category or tags: cli, developer-tools, shell, testing.
- [shelltestrunner](https://pkg.so/zh-hans/brew/shelltestrunner/) - Shares pkgdb curated category or tags: cli, developer-tools, shell, testing.
- [shellcheck](https://pkg.so/zh-hans/brew/shellcheck/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [fish](https://pkg.so/zh-hans/brew/fish/) - Shares pkgdb curated category or tags: cli, developer-tools, shell.
- [bash_unit](https://pkg.so/zh-hans/brew/bash-unit/) - Local package facts share a topical domain. Shared terms: bash, cli, developer, developer-tools, framework.

## Combined YAML source

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


## 来源

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