# 使用 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
- **版本:** 1.58.0
- **来源摘要:** New way to see and navigate directory trees
- **主页:** <https://dystroy.org/broot/>
- **仓库:** <https://github.com/Canop/broot>
- **最后更新:** 2026-07-10T23:39:07Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- broot (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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
## 其他软件包管理器记录

- 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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
