macOS
brew install shtoollocal Homebrew formula metadata
brew / rank 4264
GNU's portable shell tool. Version 2.0.8 via Homebrew; verified 2026-09-12. Also installable with debian: sudo apt install shtool.
install
brew install shtoollocal Homebrew formula metadata
sudo apt install shtoolDebian stable package indexes · shtool · source: deb.debian.org
overview
GNU's portable shell tool
history
GNU shtool is a collection of stable, portable shell-script functions compiled into a single tool for use inside software source trees, especially during build and installation.
Ralf S. Engelschall assembled GNU shtool from small, stable shell scripts already used across free-software projects. The official page carries copyright from 1994 and identifies release 2.0.8, dated 18 July 2008.
GNU shtool was designed to be included in other free-software source trees, where it could replace assorted nonportable helper scripts. Official GNU release archives preserve a succession of 1.x and 2.x releases, while the input records packages in Homebrew, Debian, and Ubuntu.
Projects can generate or include shtool and call its portable replacements for operations such as directory creation, installation, and output handling. shtoolize supports incorporating the tool into a source tree.
shtool captures an older source-distribution strategy: vendoring one generated, portable shell tool so a package can build on heterogeneous Unix systems without assuming that every host has compatible install, mkdir, echo, or related commands.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
shtool | cli | global executable | |
shtoolize | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.gnu.org/software/shtool/
install metadata
| Package key | brew:shtool |
|---|---|
| Version | 2.0.8 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/shtool |
| Homepage | https://www.gnu.org/software/shtool/ |
| Upstream docs | https://www.gnu.org/software/shtool/ |
| License | GPL-2.0-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/shtool/shtool-2.0.8.tar.gz |
| Last updated | 2026-09-12T12:38:01+09:00 |
| Pulse | updated |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | shtool |
| Version Scheme | 0 |
| Revision | 0 |
| 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.
shtool 2.0.8-10
portable shell tool from the GNU project
https://www.gnu.org/software/shtool
sudo apt install shtoolshtool 2.0.8-10
portable shell tool from the GNU project
https://www.gnu.org/software/shtool
sudo apt install shtoolsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.