# 使用 npm 安装 directory-tree

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

## 安装

```sh
sudo av install npm:directory-tree
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g directory-tree
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:directory-tree
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/directory-tree>
- **版本:** 3.6.0
- **来源摘要:** Convert a directory tree to a JS object.
- **主页:** <https://github.com/mihneadb/node-directory-tree>
- **仓库:** <https://github.com/mihneadb/node-directory-tree>
- **上游文档:** <https://github.com/mihneadb/node-directory-tree>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/directory-tree/-/directory-tree-3.6.0.tgz>
- **问题跟踪器:** <https://github.com/mihneadb/node-directory-tree/issues>
- **发布时间:** 2026-01-24T11:41:22.569Z
- **最后更新:** 2026-01-24T11:41:22.569Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- directory-tree (cli)
- directory-tree (别名)

## 依赖

- command-line-args
- command-line-usage

## 构建依赖

- @types/node
- chai
- mocha
- typescript

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.6.0
- 管理器更新时间: 2026-01-24
- 本地数据: OK
- 上游仓库: https://github.com/mihneadb/node-directory-tree
- notice: The package-manager record has not changed recently.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 3.6.0
- **Version Count:** 37
- **Maintainers:** mihneadb
- **Author:** Mihnea Dobrescu-Balaur
- **Publisher:** mihneadb
- **Engines:** Node: >=10.0
- **Integrity:** sha512-rTMWs+zxr0QEbzQKRfwV6SeEy+zIHFkorskI4bhG2o7ayr82c+FC7yWg3yLpurgp6Hs2NGy1NWrKIaDodr2r8A==
- **Shasum:** f8530bff482c8c420e01874aea3bb95744f5a5e4
- **Unpacked Size:** 28,979
- **File Count:** 0
- **Created At:** 2014-03-11T13:20:45.651Z
- **Latest Published At:** 2026-01-24T11:41:22.569Z
- **Modified At:** 2026-01-24T11:41:22.698Z


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched curated package taxonomy and local package facts.
- [concat-cli](https://pkg.so/zh-hans/npm/concat-cli/) - Local package facts share a topical domain. Shared terms: cli, files, filesystem, line, system.
- [copy-files-from-to](https://pkg.so/zh-hans/npm/copy-files-from-to/) - Local package facts share a topical domain. Shared terms: cli, directory, files, filesystem, system.
- [cpx](https://pkg.so/zh-hans/npm/cpx/) - Local package facts share a topical domain. Shared terms: cli, directory, files, filesystem, system.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
