macOS
brew install shfmtlocal Homebrew formula metadata
sudo port install shfmtMacPorts ports tree · devel/shfmt/Portfile · source: api.github.com
brew / 順位 587
shfmt のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
sudo av install brew:shfmtbrew install shfmtlocal Homebrew formula metadata
sudo port install shfmtMacPorts ports tree · devel/shfmt/Portfile · source: api.github.com
sudo apk add shfmtAlpine Linux edge package indexes · shfmt · source: dl-cdn.alpinelinux.org
sudo apt install shfmtDebian stable package indexes · shfmt · source: deb.debian.org
nix profile install nixpkgs#shfmtnixpkgs package indexes · pkgs/by-name/sh/shfmt/package.nix · source: api.github.com
sudo pacman -S shfmtArch Linux sync databases · shfmt · source: geo.mirror.pkgbuild.com
sudo zypper install shfmtopenSUSE Tumbleweed package metadata · shfmt · source: download.opensuse.org
scoop install main/shfmtScoop official bucket manifest trees · bucket/shfmt.json · source: api.github.com
winget install --id mvdan.shfmt -eWindows Package Manager source index · mvdan.shfmt · source: cdn.winget.microsoft.com
概要
Autoformat shell script source code
セキュリティ状態
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
shfmt | cli | global executable |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| Package key | brew:shfmt |
|---|---|
| Version | 3.13.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/shfmt |
| Homepage | https://github.com/mvdan/sh |
| Repository | https://github.com/mvdan/sh |
| Upstream docs | https://github.com/mvdan/sh |
| License | BSD-3-Clause |
| Source archive | https://github.com/mvdan/sh/archive/refs/tags/v3.13.1.tar.gz |
| Last updated | 2026-04-07T00:28:41Z |
| Pulse | updated |
| Build dependencies | go, scdoc |
| Bottle | available (arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。