macOS
brew install shellhardenlocal Homebrew formula metadata
sudo port install shellhardenMacPorts ports tree · devel/shellharden/Portfile · 来源: api.github.com
安装
brew install shellhardenlocal Homebrew formula metadata
sudo port install shellhardenMacPorts ports tree · devel/shellharden/Portfile · 来源: api.github.com
sudo apk add shellhardenAlpine Linux edge package indexes · shellharden · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#shellhardennixpkgs package indexes · pkgs/by-name/sh/shellharden/package.nix · 来源: api.github.com
sudo pacman -S shellhardenArch Linux sync databases · shellharden · 来源: geo.mirror.pkgbuild.com
概览
Bash syntax highlighter that encourages/fixes variables quoting
历史
Shellharden highlights Bash syntax and proposes or applies changes intended to improve quoting and reduce reliance on unsafe word splitting or glob expansion.
The tool was originally known as Naziquote and was later renamed Shellharden. It developed into a Rust-based corrective Bash syntax highlighter focused chiefly on quoting and on semi-automating changes associated with ShellCheck guidance.
Shellharden is distributed as an official Rust crate and has also been packaged by multiple operating-system ecosystems, including Homebrew, Alpine, Arch, MacPorts, and Nix according to the supplied package metadata.
The default mode behaves like cat with syntax highlighting and suggested additions or removals. Users may request transformation, but the maintainer explicitly requires human review because scripts can intentionally depend on unquoted shell behavior. Shellharden has no documented persistent configuration or credential files.
Shellharden occupies an unusual niche between a linter, syntax highlighter, and source-to-source fixer. Package maintainers value it because it can turn quoting advice into reviewable edits while retaining a deliberately conservative warning against blind transformation.
安全态势
没有找到 shellharden 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
shellharden | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/anordal/shellharden
安装元数据
| 软件包键 | brew:shellharden |
|---|---|
| 版本 | 4.3.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/shellharden |
| 主页 | https://github.com/anordal/shellharden |
| 仓库 | https://github.com/anordal/shellharden |
| 许可证 | MPL-2.0 |
| 源码归档 | https://github.com/anordal/shellharden/archive/refs/tags/v4.3.2.tar.gz |
| 最后更新 | 2026-09-13T09:36:45Z |
| Pulse | updated |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
shellharden
nix profile install nixpkgs#shellhardenshellharden 4.3.1-r0
The corrective bash syntax highlighter
https://github.com/anordal/shellharden
sudo apk add shellhardenshellharden-doc 4.3.1-r0
The corrective bash syntax highlighter (documentation)
https://github.com/anordal/shellharden
sudo apk add shellharden-docshellharden 4.3.2-1
Bash linter and syntax highlighter
https://github.com/anordal/shellharden
sudo pacman -S shellhardenshellharden
sudo port install shellharden来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.