macOS
brew install dep-treelocal Homebrew formula metadata
brew
Tool for visualizing dependencies between files and enforcing dependency rules. Version 0.23.4 via Homebrew; verified from local package data.
install
brew install dep-treelocal Homebrew formula metadata
nix profile install nixpkgs#dep-treenixpkgs package indexes · pkgs/by-name/de/dep-tree/package.nix · source: api.github.com
overview
Tool for visualizing dependencies between files and enforcing dependency rules
history
dep-tree is a CLI for visualizing file dependency graphs and enforcing dependency rules. It renders codebase structure as a tree or 3D force-directed graph and can fail CI when imports violate rules in .dep-tree.yml.
The official repository was created in December 2022. Its README presents dep-tree as a tool for visualizing codebase entropy and keeping modules decoupled by analyzing local file imports from one or more entrypoints.
The project grew around a few focused commands: entropy for browser-based 3D graphs, tree for terminal exploration, explain for showing dependencies between glob-selected areas, and check for enforcing allow or deny rules.
dep-tree is distributed through Homebrew on macOS and Linux, plus pip and npm for broader platform access. That multi-channel packaging fits the tool's audience: teams may want the same architecture check available in local shells, Python-heavy repos, JavaScript-heavy repos, and CI.
The GitHub release feed shows active 0.23.x releases through March 2025, and the README links generated graphs for well-known projects across TypeScript, Python, Rust, and Go.
Users point dep-tree at one or more entry files to build a local dependency graph. dep-tree entropy opens a browser visualization, dep-tree tree shows a navigable terminal tree, and dep-tree explain reports whether files matching one glob depend on files matching another.
For CI, dep-tree check reads .dep-tree.yml and verifies allow, deny, and circular-dependency rules. That makes it a lightweight architecture-linting tool rather than only a visualization toy.
dep-tree is notable because it packages architecture boundaries as a small CLI instead of a platform-specific IDE feature. That makes dependency hygiene scriptable in package test phases and CI jobs.
It also shows a modern packaging pattern: one upstream tool ships through brew, pip, and npm so different ecosystems can install the same executable in the way their automation already understands.
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.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.dep-tree.ymlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
dep-tree | 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://github.com/gabotechs/dep-tree
install metadata
| Package key | brew:dep-tree |
|---|---|
| Version | 0.23.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/dep-tree |
| Homepage | https://github.com/gabotechs/dep-tree |
| Repository | https://github.com/gabotechs/dep-tree |
| Upstream docs | https://github.com/gabotechs/dep-tree#readme |
| License | MIT |
| Source archive | https://github.com/gabotechs/dep-tree/archive/refs/tags/v0.23.4.tar.gz |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, 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 | dep-tree |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| 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.
dep-tree
nix profile install nixpkgs#dep-treesource 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.