macOS
brew install etshlocal Homebrew formula metadata
sudo port install etshMacPorts ports tree · shells/etsh/Portfile · source: api.github.com
brew
Two ports of /bin/sh from V6 UNIX (circa 1975). Version 5.4.0 via Homebrew; verified from local package data. Also installable with macports: sudo port install etsh.
install
brew install etshlocal Homebrew formula metadata
sudo port install etshMacPorts ports tree · shells/etsh/Portfile · source: api.github.com
overview
Two ports of /bin/sh from V6 UNIX (circa 1975)
history
Etsh is a historical Unix shell package that maintains two ports of the Thompson shell from Sixth Edition Unix: an enhanced interactive-compatible shell named etsh and an unenhanced port named tsh. It is packaged less as a mainstream login shell and more as a living, buildable preservation of early Unix shell behavior.
The project is explicitly dedicated to preserving the Version 6 Unix `sh(1)` lineage. Its sources trace back to the Thompson shell, principally written by Ken Thompson at Bell Labs, with related V6 utilities such as glob, if, and goto included because they were part of the shell's practical command-file environment.
Jeffrey Allen Neitzel has maintained the etsh project since July 2003. The project keeps the historical interface available while adding enough portability and interactive-shell improvements for modern POSIX-like systems.
Etsh's adoption is niche and heritage-oriented rather than mass-market. Official project notes emphasize successful builds on DragonFly BSD, FreeBSD, macOS, NetBSD, OpenBSD, OpenIndiana, and GNU/Linux, and the package appears in Unix-like ports systems for users who want the V6 shell experience on modern machines.
Users run etsh or tsh as command interpreters, either interactively or for scripts that fit the V6 shell model. The usage guide frames the shells as a way to do useful work with a small shell plus classic Unix pipelines and external tools such as awk, expr, grep, and sed.
Etsh matters to package nerds because it is both software and executable computing history. Installing it through a package manager gives modern systems a maintained port of a pre-Bourne-shell command language, complete with the companion utilities needed for authentic behavior.
It is also a reminder that shell packaging is not just about default user shells: small historical interpreters need careful source provenance, licensing, manpages, and installation paths so they can coexist with modern `/bin/sh` implementations.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
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 |
|---|---|---|---|
etsh | cli | global executable | |
sh6 | 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.
install metadata
| Package key | brew:etsh |
|---|---|
| Version | 5.4.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/etsh |
| Homepage | https://etsh.dev/ |
| Repository | https://etsh.dev/anoncvs |
| Upstream docs | https://etsh.dev/doc |
| License | BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND LicenseRef-Homebrew-public-domain |
| Source archive | https://etsh.dev/src/etsh_5.4.0/etsh-5.4.0.tar.xz |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | etsh |
| Version Scheme | 1 |
| Revision | 0 |
| Conflicts With |
|
| 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.
etsh
sudo port install etshsource 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.