# 使用 Homebrew, apk, apt, MacPorts, Nix, pacman, zypper, scoop, winget 安装 broot

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

## 安装

```sh
sudo av install brew:broot
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install broot
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install broot
```

  证据: MacPorts ports tree: sysutils/broot/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add broot
```

  证据: Alpine Linux edge package indexes: broot from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install broot
```

  证据: Debian stable package indexes: broot from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#broot
```

  证据: nixpkgs package indexes: pkgs/by-name/br/broot/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S broot
```

  证据: Arch Linux sync databases: broot from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install broot
```

  证据: openSUSE Tumbleweed package metadata: broot from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/broot
```

  证据: Scoop official bucket manifest trees: bucket/broot.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Dystroy.broot -e
```

  证据: Windows Package Manager source index: Dystroy.broot from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:broot
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/broot>
- **版本:** 1.58.0
- **来源摘要:** New way to see and navigate directory trees
- **主页:** <https://dystroy.org/broot/>
- **仓库:** <https://github.com/Canop/broot>
- **上游文档:** <https://dystroy.org/broot/>
- **许可证:** MIT
- **源码归档:** <https://github.com/Canop/broot/archive/refs/tags/v1.58.0.tar.gz>
- **最后更新:** 2026-07-10T23:39:07Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- broot (cli)
- broot (别名)

## 依赖

- libxcb

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.58.0
- 管理器更新时间: 2026-07-10
- 本地数据: OK
- 上游仓库: https://github.com/Canop/broot
- 检测到的最新版本: v1.58.0 (当前)
## 项目历史与用法

Broot is a Rust terminal file navigator that combines a compact directory tree, fuzzy search, file operations, preview panels, shell integration, and user-defined verbs. It is designed as a more interactive answer to `tree`, `ls`, `find`, and ad hoc `cd` workflows.

### 项目历史

The official documentation describes Broot as a better way to navigate directories, find files, and launch commands. Its core idea is to keep a readable tree visible even for large directories by filtering, respecting ignore files, and letting the user jump back to the shell in the selected directory through the `br` integration.

The GitHub repository and changelog show steady development over many years, with features expanding from directory overview and search into panels, file previews, staging areas, trash support, image rendering through terminal graphics protocols, Git status views, modal input, configurable verbs, and shell integrations.

### 采用历史

Broot became popular among command-line users who wanted richer navigation without adopting a full-screen orthodox file manager. GitHub shows a large user audience, and the input package facts show broad packaging across Homebrew, Debian, Alpine, MacPorts, Nix, Arch, Scoop, Winget, and openSUSE.

### 使用方式

Typical use is `br` or `broot` inside a project tree: type a few letters to narrow the tree, press enter or a configured verb to open a file, use Alt-Enter to return to the shell in a selected directory, and use panels or the staging area for file operations. Configuration lives under the XDG config directory and lets users define verbs, shortcuts, skins, icons, and preview transformers.

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

Broot is a representative modern Rust CLI package: single-purpose but deep, cross-platform, visually rich in the terminal, and widely distributed by both Unix and Windows package managers. It also illustrates how newer tools compose with shells rather than replacing them outright.

### 时间线

- 2019: Early public release tags appear in the official Git repository.
- 2023: The changelog shows continuing shell integration and file-operation improvements, including trash support and Windows installer work.
- 2024: Preview transformers, improved terminal key handling, and richer panels land in the 1.40+ series.
- 2025: Broot adds more filesystem, preview, watching, and image-rendering improvements.
- 2026-06-01: Changelog lists v1.57.0.

### Related projects

- Related command-line navigation and file-management tools include tree, fd, fzf, ranger, nnn, vifm, zoxide, broot's own shell function `br`, and terminal file-preview ecosystems built around Kitty or WezTerm graphics.

### 来源

- <https://dystroy.org/broot/>
- <https://github.com/Canop/broot#readme>
- <https://raw.githubusercontent.com/Canop/broot/main/CHANGELOG.md>
- source_facts.package-manager


## 安全说明

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



## Configuration and credential file locations

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.


## Configuration files

- Unix: ${XDG_CONFIG_HOME:-~/.config}/broot/conf.toml, ${XDG_CONFIG_HOME:-~/.config}/broot/conf.hjson
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** broot
- **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:** head, stable

## 其他软件包管理器记录

- Debian apt - broot - 1.46.3-2: normalized package name match | Debian stable package indexes: broot from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tree view, file manager, configurable launcher | https://dystroy.org/broot
- Nix - broot: normalized package name match | nixpkgs package indexes: pkgs/by-name/br/broot/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - broot - 1.58.0-r0: normalized package name match | Alpine Linux edge package indexes: broot from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | New way to see and navigate directory trees | https://github.com/Canop/broot
- apk - broot-bash-completion - 1.58.0-r0: normalized package name match | Alpine Linux edge package indexes: broot-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for broot | https://github.com/Canop/broot
- apk - broot-doc - 1.58.0-r0: normalized package name match | Alpine Linux edge package indexes: broot-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | New way to see and navigate directory trees (documentation) | https://github.com/Canop/broot
- apk - broot-fish-completion - 1.58.0-r0: normalized package name match | Alpine Linux edge package indexes: broot-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for broot | https://github.com/Canop/broot
- apk - broot-zsh-completion - 1.58.0-r0: normalized package name match | Alpine Linux edge package indexes: broot-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for broot | https://github.com/Canop/broot
- pacman - broot - 1.58.0-1: normalized package name match | Arch Linux sync databases: broot from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Fuzzy Search + tree + cd | https://github.com/Canop/broot
- zypper - broot - 1.49.1-1.6: normalized package name match | openSUSE Tumbleweed package metadata: broot from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A better way to navigate directories | https://dystroy.org/broot/
- MacPorts - broot: normalized package name match | MacPorts ports tree: sysutils/broot/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/broot: normalized package name match | Scoop official bucket manifest trees: bucket/broot.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Dystroy.broot: normalized package name match | Windows Package Manager source index: Dystroy.broot from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [as-tree](https://pkg.so/zh-hans/brew/as-tree/) - Shares pkgdb curated category or tags: cli, developer-tools, filesystem.
- [nfd2nfc](https://pkg.so/zh-hans/brew/nfd2nfc/) - Shares pkgdb curated category or tags: cli, developer-tools, filesystem.
- [lndir](https://pkg.so/zh-hans/brew/lndir/) - Shares pkgdb curated category or tags: cli, developer-tools, filesystem.
- [physfs](https://pkg.so/zh-hans/brew/physfs/) - Shares pkgdb curated category or tags: cli, developer-tools, filesystem.
- [ripgrep](https://pkg.so/zh-hans/brew/ripgrep/) - Shares pkgdb curated category or tags: cli, developer-tools, search.
- [fzf](https://pkg.so/zh-hans/brew/fzf/) - Shares pkgdb curated category or tags: cli, developer-tools, search.
- [uutils-findutils](https://pkg.so/zh-hans/brew/uutils-findutils/) - Shares pkgdb curated category or tags: cli, developer-tools, filesystem.
- [television](https://pkg.so/zh-hans/brew/television/) - Shares pkgdb curated category or tags: cli, developer-tools, search.
- [gtree](https://pkg.so/zh-hans/brew/gtree/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, directory, directory-tree.
- [jump](https://pkg.so/zh-hans/brew/jump/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, file, filesystem.

## Combined YAML source

View the package source record on GitHub. [combined/broot.yml](https://github.com/mxcl/pkgdb/blob/main/combined/broot.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
