macOS
brew install shfmtlocal Homebrew formula metadata
sudo port install shfmtMacPorts ports tree · devel/shfmt/Portfile · 来源: api.github.com
安装
brew install shfmtlocal Homebrew formula metadata
sudo port install shfmtMacPorts ports tree · devel/shfmt/Portfile · 来源: api.github.com
sudo apk add shfmtAlpine Linux edge package indexes · shfmt · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#shfmtnixpkgs package indexes · pkgs/by-name/sh/shfmt/package.nix · 来源: api.github.com
sudo pacman -S shfmtArch Linux sync databases · shfmt · 来源: geo.mirror.pkgbuild.com
sudo zypper install shfmtopenSUSE Tumbleweed package metadata · shfmt · 来源: download.opensuse.org
scoop install main/shfmtScoop official bucket manifest trees · bucket/shfmt.json · 来源: api.github.com
winget install --id mvdan.shfmt -eWindows Package Manager source index · mvdan.shfmt · 来源: cdn.winget.microsoft.com
概览
Autoformat shell script source code
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
<project-root>/.editorconfig可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
shfmt | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:shfmt |
|---|---|
| 版本 | 3.13.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/shfmt |
| 主页 | https://github.com/mvdan/sh |
| 仓库 | https://github.com/mvdan/sh |
| 上游文档 | https://github.com/mvdan/sh |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://github.com/mvdan/sh/archive/refs/tags/v3.13.1.tar.gz |
| 构建依赖 | go, scdoc |
| 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 | shfmt |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
shfmt 3.8.0-1+b8
format shell programs
sudo apt install shfmtshfmt
nix profile install nixpkgs#shfmtshfmt 3.8.0-1
format shell programs
sudo apt install shfmtshfmt 3.13.1-r1
A shell parser, formatter, and interpreter (sh/bash/mksh)
sudo apk add shfmtshfmt-doc 3.13.1-r1
A shell parser, formatter, and interpreter (sh/bash/mksh) (documentation)
sudo apk add shfmt-docshfmt 3.13.1-1
Format shell programs
sudo pacman -S shfmtshfmt 3.12.0-1.4
A shell formatter with bash support
sudo zypper install shfmtshfmt
sudo port install shfmtmain/shfmt
scoop install main/shfmtmvdan.shfmt
winget install --id mvdan.shfmt -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.