Automic VaultAutomic Vault

brew

Install zshdb with Homebrew, MacPorts, pacman

Debugger for zsh. Version 1.1.4 via Homebrew; verified 2026-07-05.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install zshdb

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install zshdb

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

overview

Package summary

Debugger for zsh

Commands and aliases

  • zshdb

history

Project history and usage

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.

Project history

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 history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for zshdb. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
zshdbcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.1.4
manager updated2026-07-05
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:zshdb
Version1.1.4
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/zshdb
Homepagehttps://github.com/Trepan-Debuggers/zshdb
Repositoryhttps://github.com/Trepan-Debuggers/zshdb
Upstream docshttps://github.com/Trepan-Debuggers/zshdb#readme
LicenseGPL-2.0-or-later AND GPL-3.0-or-later AND HPND-sell-variant
Source archivehttps://downloads.sourceforge.net/project/bashdb/zshdb/1.1.4/zshdb-1.1.4.tar.gz
Last updated2026-07-05T00:14:30+09:00
Pulseupdated
Dependencieszsh
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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