macOS
brew install dep-treelocal Homebrew formula metadata
安装
brew install dep-treelocal Homebrew formula metadata
nix profile install nixpkgs#dep-treenixpkgs package indexes · pkgs/by-name/de/dep-tree/package.nix · 来源: api.github.com
概览
Tool for visualizing dependencies between files and enforcing dependency rules
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.yml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
dep-tree | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/gabotechs/dep-tree
安装元数据
| 软件包键 | brew:dep-tree |
|---|---|
| 版本 | 0.23.4 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/dep-tree |
| 主页 | https://github.com/gabotechs/dep-tree |
| 仓库 | https://github.com/gabotechs/dep-tree |
| 上游文档 | https://github.com/gabotechs/dep-tree#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/gabotechs/dep-tree/archive/refs/tags/v0.23.4.tar.gz |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
dep-tree
nix profile install nixpkgs#dep-tree来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.