# 使用 Homebrew, apk, apt, MacPorts, Nix, pacman, zypper 安装 dysk

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

## 安装

```sh
sudo av install brew:dysk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dysk
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dysk
```

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

### Linux

- apk (92%):

```sh
sudo apk add dysk
```

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

- Debian apt (92%):

```sh
sudo apt install dysk
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#dysk
```

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

- pacman (92%):

```sh
sudo pacman -S dysk
```

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

- zypper (92%):

```sh
sudo zypper install dysk
```

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

## 软件包事实

- **软件包键:** brew:dysk
- **软件包管理器:** Homebrew
- **版本:** 3.6.1
- **来源摘要:** Linux utility to get information on filesystems, like df but better
- **主页:** <https://dystroy.org/dysk/>
- **仓库:** <https://github.com/Canop/dysk>
- **最后更新:** 2026-05-05T20:42:41Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dysk (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.6.1
## 项目历史与用法

dysk is a Rust command-line utility for listing filesystem and disk-usage information on Linux and macOS, positioned as a more readable and featureful alternative to `df`.

### 项目历史

The Canop/dysk repository was created in 2020. Its README says dysk was previously known as lfs, documents Linux and Mac support, and points to dystroy.org as the complete documentation site.

The project later became a crates.io and Homebrew-packaged Rust CLI. The README highlights table output, selectable columns, JSON and CSV output, filters, sorting, and the separate `lfs-core` crate that provides the filesystem data.

### 采用历史

dysk has become comparatively visible for a modern replacement-style system utility. Its packaging footprint includes crates.io, Homebrew, distro packages, and conda-forge, and Homebrew analytics show much higher direct install activity than many niche utilities in this batch.

### 使用方式

Users run `dysk` as an interactive or scriptable replacement for `df`, choosing columns, filtering filesystems, sorting output, or emitting JSON/CSV for downstream tools such as `jq`.

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

dysk is part of the Rust rewrite wave for everyday Unix tools: small single-purpose binaries with nicer defaults, structured output, color/table rendering, and easy cross-platform packaging. Its link to `lfs-core` is also useful for packagers because the display CLI and filesystem-query library are separate concerns.

### 时间线

- 2020: Canop/dysk repository is created.
- 2023: The `dysk` crate appears on crates.io.
- 2020s: README notes the rename from lfs to dysk and documents JSON, CSV, filters, sorting, and `lfs-core`.
- 2026: Homebrew and crates.io both track dysk 3.6.1.

### Related projects

- Related projects include `df`, `du`, `lsblk`, `dust`, `dua`, `ncdu`, `jq`, and Canop's `lfs-core` crate.

### 来源

- <https://github.com/Canop/dysk#readme>
- <https://api.github.com/repos/Canop/dysk>
- <https://dystroy.org/dysk>
- <https://crates.io/crates/dysk>
- <https://crates.io/api/v1/crates/dysk>
- <https://formulae.brew.sh/formula/dysk>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Debian apt - dysk - 2.10.0-4: normalized package name match | Debian stable package indexes: dysk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | get information on mounted filesystems | https://dystroy.org/dysk
- Nix - dysk: normalized package name match | nixpkgs package indexes: pkgs/by-name/dy/dysk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - dysk - 3.6.0-r0: normalized package name match | Alpine Linux edge package indexes: dysk from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Get information on your mounted disks | https://github.com/Canop/dysk
- apk - dysk-bash-completion - 3.6.0-r0: normalized package name match | Alpine Linux edge package indexes: dysk-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for dysk | https://github.com/Canop/dysk
- apk - dysk-doc - 3.6.0-r0: normalized package name match | Alpine Linux edge package indexes: dysk-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Get information on your mounted disks (documentation) | https://github.com/Canop/dysk
- apk - dysk-fish-completion - 3.6.0-r0: normalized package name match | Alpine Linux edge package indexes: dysk-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for dysk | https://github.com/Canop/dysk
- apk - dysk-zsh-completion - 3.6.0-r0: normalized package name match | Alpine Linux edge package indexes: dysk-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for dysk | https://github.com/Canop/dysk
- pacman - dysk - 1:3.6.1-1: normalized package name match | Arch Linux sync databases: dysk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Get information on your mounted filesystems | https://github.com/Canop/dysk
- zypper - dysk - v3.6.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: dysk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Get information on filesystems, like df but better | https://github.com/Canop/dysk
- MacPorts - dysk: normalized package name match | MacPorts ports tree: sysutils/dysk/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
