Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, pacman 安装 zshdb

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install zshdb

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install zshdb

MacPorts ports tree · devel/zshdb/Portfile · 来源: api.github.com

概览

软件包摘要

Debugger for zsh

命令和别名

  • zshdb

历史

项目历史与用法

zshdb is a gdb-like debugger for Zsh scripts. It is part of the Trepan debugger family and brings stepping, breakpoints, stack inspection, and debugger-style command interaction to shell code that is otherwise usually debugged with `set -x` and print statements.

项目历史

The public GitHub repository was created on 2008-08-08. The README and Read the Docs site describe zshdb as a debugger for Zsh, aligned with Rocky Bernstein's broader Trepan debugger work and sibling shell debuggers.

zshdb's premise is deliberately narrow: Zsh scripts deserve source-level debugging too. Rather than implementing a new shell, it wraps and instruments Zsh execution to provide debugger commands familiar from gdb-style workflows.

采用历史

Adoption is specialized. Most shell users rely on tracing, but maintainers of larger shell scripts, shell libraries, or Zsh-specific tooling can benefit from real stepping and breakpoints. That niche is why zshdb appears in several package managers even without mainstream visibility.

The package is also part of a debugger lineage: users who discover bashdb, pydb, or Trepan-style tools can recognize zshdb as the Zsh-specific member of that family.

使用方式

Developers run `zshdb` against a Zsh script to step through execution, inspect call frames and variables, set breakpoints, and diagnose control-flow problems. It is most useful when `set -x` output becomes too noisy or when a script uses Zsh-specific behavior that a POSIX-sh debugger would not understand.

Because it is a command-line debugger, packaging matters: installing it from Homebrew, MacPorts, or Arch puts a repeatable debugger binary alongside the shell it targets.

为什么软件包爱好者会关心

zshdb matters because it packages observability for shell scripts, a corner of developer tooling that is often under-served. Shells are everywhere, but source-level shell debuggers remain niche enough that package-manager discovery is important.

It is also a useful sibling entry for package databases: bashdb, zshdb, and Trepan-related debuggers show a family of small, language-specific debugging tools rather than one monolithic debugger package.

时间线

  • 2008-08-08: The Trepan-Debuggers/zshdb GitHub repository is created.
  • 2010s: zshdb is documented through README material and Read the Docs as part of the Trepan debugger ecosystem.
  • 2020s: zshdb remains packaged by Homebrew, MacPorts, and Arch-derived package metadata for users who need Zsh script debugging.

Related projects

  • Related projects include Zsh, bashdb, Trepan debuggers, gdb, kshdb, shell tracing with `set -x`, and Zsh test/debugging workflows.

安全态势

尚未找到受保护工具覆盖

没有找到 zshdb 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://github.com/Trepan-Debuggers/zshdb

安装元数据

软件包元数据

软件包键brew:zshdb
版本1.1.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/zshdb
主页https://github.com/Trepan-Debuggers/zshdb
仓库https://github.com/Trepan-Debuggers/zshdb
上游文档https://github.com/Trepan-Debuggers/zshdb#readme
许可证GPL-2.0-or-later AND GPL-3.0-or-later AND HPND-sell-variant
源码归档https://downloads.sourceforge.net/project/bashdb/zshdb/1.1.4/zshdb-1.1.4.tar.gz
最后更新2026-07-05T00:14:30+09:00
Pulseupdated
依赖zsh
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namezshdb
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

pacman95%

zshdb 1.1.4-2

A debugger for zsh scripts

https://github.com/rocky/zshdb/

sudo pacman -S zshdb
  • License: GPL
  • Architecture: any
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Zshdb
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: zshdb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

zshdb

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

来源线索

由仓库数据生成

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

使用的来源

  • Nucleus package database
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment