# Install shellspec

BDD unit testing framework for dash, bash, ksh, zsh and all POSIX shells. Version 0.28.1 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install shellspec
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add shellspec
```

  Evidence: 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
```

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

## Package Facts

- **Package key:** brew:shellspec
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/shellspec>
- **Version:** 0.28.1
- **Source summary:** BDD unit testing framework for dash, bash, ksh, zsh and all POSIX shells
- **Homepage:** <https://shellspec.info/>
- **Repository:** <https://github.com/shellspec/shellspec>
- **Upstream docs:** <https://shellspec.info/>
- **License:** MIT
- **Source archive:** <https://github.com/shellspec/shellspec/archive/refs/tags/0.28.1.tar.gz>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- shellspec (cli)
- shellspec (alias)

## Install Behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 0.28.1
- Local data status: ok
- Upstream repository: https://github.com/shellspec/shellspec
- Upstream latest detected: 0.28.1 (current)
- info: No package-manager update timestamp was available.

## 安全说明

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Source Database Details

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

## Other Package-Manager Records

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


## Related Links

- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [shunit2](https://www.automicvault.com/zh-hans/pkg/brew/shunit2/) - Shares av.db curated category or tags: cli, developer-tools, shell, testing.
- [shfmt](https://www.automicvault.com/zh-hans/pkg/brew/shfmt/) - Shares av.db curated category or tags: cli, developer-tools, posix, shell.
- [checkbashisms](https://www.automicvault.com/zh-hans/pkg/brew/checkbashisms/) - Shares av.db curated category or tags: cli, developer-tools, posix, shell.
- [cucumber-ruby](https://www.automicvault.com/zh-hans/pkg/brew/cucumber-ruby/) - Shares av.db curated category or tags: bdd, cli, developer-tools, testing.
- [shelltestrunner](https://www.automicvault.com/zh-hans/pkg/brew/shelltestrunner/) - Shares av.db curated category or tags: cli, developer-tools, shell, testing.
- [clitest](https://www.automicvault.com/zh-hans/pkg/brew/clitest/) - Shares av.db curated category or tags: cli, developer-tools, shell, testing.
- [shellcheck](https://www.automicvault.com/zh-hans/pkg/brew/shellcheck/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [fish](https://www.automicvault.com/zh-hans/pkg/brew/fish/) - Shares av.db curated category or tags: cli, developer-tools, shell.

## Sources

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