Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts 安装 etsh

查看 etsh 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install etsh

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install etsh

MacPorts ports tree · shells/etsh/Portfile · 来源: api.github.com

概览

软件包摘要

Two ports of /bin/sh from V6 UNIX (circa 1975)

命令和别名

  • etsh
  • sh6

历史

项目历史与用法

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.

时间线

  • 1975: Sixth Edition Unix shipped with the Thompson shell as `/bin/sh`.
  • 1979: Seventh Edition Unix replaced the Thompson shell with the Bourne shell, while retaining the older shell as `osh`.
  • 2003: Jeffrey Allen Neitzel became principal developer and maintainer of the etsh project.
  • 2019: Etsh 5.4.0 manual pages documented the maintained ports and their V6 shell lineage.

Related projects

  • tsh is the unenhanced Thompson shell port shipped by the same project, while glob, if, goto, and fd2 provide supporting shell functionality.
  • The V6 Sh History site and TUHS source materials provide historical context for the original Thompson shell and related Unix manuals.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
etshcli全局可执行文件
sh6cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本5.4.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://etsh.dev/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://etsh.dev/none 置信度

安装元数据

软件包元数据

软件包键brew:etsh
版本5.4.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/etsh
主页https://etsh.dev/
仓库https://etsh.dev/anoncvs
上游文档https://etsh.dev/doc
许可证BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND LicenseRef-Homebrew-public-domain
源码归档https://etsh.dev/src/etsh_5.4.0/etsh-5.4.0.tar.xz
Bottle可用 (于 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未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameetsh
Version Scheme1
Revision0
Conflicts With
  • oils-for-unix
  • omake
  • teleport
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

MacPorts95%

etsh

sudo port install etsh
  • normalized package name match
  • 匹配方式:Etsh
MacPorts ports tree · api.github.com · MacPorts ports tree: shells/etsh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment