# 使用 Homebrew, apk, MacPorts, Nix, pacman 安装 shellharden

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

## 安装

```sh
sudo av install brew:shellharden
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install shellharden
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install shellharden
```

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

### Linux

- apk (92%):

```sh
sudo apk add shellharden
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#shellharden
```

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

- pacman (92%):

```sh
sudo pacman -S shellharden
```

  证据: Arch Linux sync databases: shellharden from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:shellharden
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/shellharden>
- **版本:** 4.3.2
- **来源摘要:** Bash syntax highlighter that encourages/fixes variables quoting
- **主页:** <https://github.com/anordal/shellharden>
- **仓库:** <https://github.com/anordal/shellharden>
- **上游文档:** <https://github.com/anordal/shellharden#readme>
- **许可证:** MPL-2.0
- **源码归档:** <https://github.com/anordal/shellharden/archive/refs/tags/v4.3.2.tar.gz>
- **最后更新:** 2026-06-27T22:14:51Z
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- shellharden (cli)
- shellharden (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 4.3.2
- 管理器更新时间: 2026-06-27
- 本地数据: OK
- 上游仓库: https://github.com/anordal/shellharden
- 检测到的最新版本: v4.3.2 (当前)

## 安全说明

没有找到 shellharden 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** shellharden
- **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

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

- Nix - shellharden: normalized package name match | nixpkgs package indexes: pkgs/by-name/sh/shellharden/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - shellharden - 4.3.1-r0: normalized package name match | Alpine Linux edge package indexes: shellharden from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The corrective bash syntax highlighter | https://github.com/anordal/shellharden
- apk - shellharden-doc - 4.3.1-r0: normalized package name match | Alpine Linux edge package indexes: shellharden-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The corrective bash syntax highlighter (documentation) | https://github.com/anordal/shellharden
- pacman - shellharden - 4.3.1-3: normalized package name match | Arch Linux sync databases: shellharden from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Bash linter and syntax highlighter | https://github.com/anordal/shellharden
- MacPorts - shellharden: normalized package name match | MacPorts ports tree: devel/shellharden/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [shellcheck](https://www.automicvault.com/zh-hans/pkg/brew/shellcheck/) - Shares av.db curated category or tags: bash, cli, developer-tools, linting, shell.
- [actionlint](https://www.automicvault.com/zh-hans/pkg/brew/actionlint/) - Shares av.db curated category or tags: cli, developer-tools, linting, static-analysis.
- [argc](https://www.automicvault.com/zh-hans/pkg/brew/argc/) - Shares av.db curated category or tags: bash, cli, developer-tools, shell.
- [babelfish](https://www.automicvault.com/zh-hans/pkg/brew/babelfish/) - Shares av.db curated category or tags: bash, cli, developer-tools, shell.
- [bash-language-server](https://www.automicvault.com/zh-hans/pkg/brew/bash-language-server/) - Shares av.db curated category or tags: bash, cli, developer-tools, shell.
- [bashate](https://www.automicvault.com/zh-hans/pkg/brew/bashate/) - Shares av.db curated category or tags: bash, cli, developer-tools, linting.
- [bashdb](https://www.automicvault.com/zh-hans/pkg/brew/bashdb/) - Shares av.db curated category or tags: bash, cli, developer-tools, shell.
- [beautysh](https://www.automicvault.com/zh-hans/pkg/brew/beautysh/) - Shares av.db curated category or tags: bash, cli, developer-tools, shell.
- [checkmake](https://www.automicvault.com/zh-hans/pkg/brew/checkmake/) - Local package facts share a topical domain. Shared terms: analysis, cli, developer, developer-tools, linting.
- [cmake-lint](https://www.automicvault.com/zh-hans/pkg/brew/cmake-lint/) - Local package facts share a topical domain. Shared terms: analysis, cli, developer, developer-tools, linting.
- [credo](https://www.automicvault.com/zh-hans/pkg/brew/credo/) - Local package facts share a topical domain. Shared terms: analysis, cli, developer, developer-tools, linting.

## Combined YAML source

View the package source record on GitHub. [combined/shellharden.yml](https://github.com/automic-vault/db/blob/main/combined/shellharden.yml)


## 来源

- Nucleus package database
- 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
