# Install dufs with Homebrew, apk, MacPorts, Nix, scoop, winget

Static file server. Version 0.46.0 via Homebrew; verified 2026-05-07.

## Install

```sh
sudo av install brew:dufs
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dufs
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dufs
```

  Evidence: MacPorts ports tree: www/dufs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add dufs
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#dufs
```

  Evidence: nixpkgs package indexes: pkgs/by-name/du/dufs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/dufs
```

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

- winget (92%):

```sh
winget install --id sigoden.Dufs -e
```

  Evidence: Windows Package Manager source index: sigoden.Dufs from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:dufs
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/dufs>
- **Version:** 0.46.0
- **Source summary:** Static file server
- **Homepage:** <https://github.com/sigoden/dufs>
- **Repository:** <https://github.com/sigoden/dufs>
- **Upstream docs:** <https://github.com/sigoden/dufs#readme>
- **License:** Apache-2.0 OR MIT
- **Source archive:** <https://github.com/sigoden/dufs/archive/refs/tags/v0.46.0.tar.gz>
- **Last updated:** 2026-05-07T06:30:42Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- dufs (cli)
- dufs (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.46.0
- Package-manager updated: 2026-05-07
- Local data: ok
- Upstream repository: https://github.com/sigoden/dufs
- Upstream latest detected: v0.46.0 (current)
## Project history and usage

Dufs is a Rust utility file server that turns a directory into an HTTP/WebDAV file surface with upload, search, access control, resumable transfers, ZIP downloads, HTTPS, and curl-friendly APIs. It sits in the modern single-binary file-server niche rather than the full web-server niche.

### Project history

The release stream began in May 2022 and moved rapidly from v0.1.0 through a long 0.x series. The README describes a utility file server focused on static serving, uploading, searching, access control, WebDAV, and straightforward CLI invocation.

Dufs kept accumulating practical file-sharing features without becoming a general reverse proxy or application server. Its CLI exposes direct flags for binding, ports, auth, path prefixes, TLS files, logging, SPA rendering, CORS, archive downloads, and shell completions.

### Adoption history

Dufs is distributed through Cargo, Docker, Homebrew, GitHub release binaries, and package-manager entries such as Alpine, MacPorts, Nix, Scoop, and Winget. That spread reflects the usual adoption path for modern Rust CLIs: crate first, then binary and package-manager convenience.

### How it is used

A common workflow is running dufs in a directory for read-only serving, then adding -A for full upload/delete/search/create/edit operations or --auth rules for per-path permissions. The built-in HTTP API also supports curl uploads, downloads, deletes, directory creation, moves, hashes, health checks, and resumable transfer patterns.

### Why package nerds care

Dufs is notable because it packages a surprising amount of ad hoc file-sharing behavior into one portable binary. For package users, it is the kind of tool that replaces a quick Python http.server, a temporary nginx config, or a small WebDAV daemon when convenience matters more than full server infrastructure.

### Timeline

- 2022: v0.1.0 published and early releases shipped rapidly.
- 2024: v0.42.0 and v0.43.0 showed the project had become a mature feature-rich utility server.
- 2025: v0.44.0 and v0.45.0 continued active releases.
- 2026: v0.46.0 released with the project still maintained.

### Related projects

- Python's http.server is the minimal built-in comparison for quick static serving.
- miniserve and darkhttpd are adjacent lightweight file/static servers.
- WebDAV servers overlap with Dufs when upload and remote filesystem access matter.

### Sources

- <https://github.com/sigoden/dufs>
- <https://api.github.com/repos/sigoden/dufs/releases?per_page=100>
- <https://formulae.brew.sh/formula/dufs>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dufs
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - dufs: normalized package name match | nixpkgs package indexes: pkgs/by-name/du/dufs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - dufs - 0.46.0-r0: normalized package name match | Alpine Linux edge package indexes: dufs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A file server that supports static serving, uploading, searching, accessing control, webdav... | https://github.com/sigoden/dufs
- apk - dufs-bash-completion - 0.46.0-r0: normalized package name match | Alpine Linux edge package indexes: dufs-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for dufs | https://github.com/sigoden/dufs
- apk - dufs-doc - 0.46.0-r0: normalized package name match | Alpine Linux edge package indexes: dufs-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A file server that supports static serving, uploading, searching, accessing control, webdav... (documentation) | https://github.com/sigoden/dufs
- apk - dufs-fish-completion - 0.46.0-r0: normalized package name match | Alpine Linux edge package indexes: dufs-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for dufs | https://github.com/sigoden/dufs
- apk - dufs-zsh-completion - 0.46.0-r0: normalized package name match | Alpine Linux edge package indexes: dufs-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for dufs | https://github.com/sigoden/dufs
- MacPorts - dufs: normalized package name match | MacPorts ports tree: www/dufs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/dufs: normalized package name match | Scoop official bucket manifest trees: bucket/dufs.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - sigoden.Dufs: normalized package name match | Windows Package Manager source index: sigoden.Dufs from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [webdav](https://www.automicvault.com/pkg/brew/webdav/) - Shares av.db curated category or tags: cli, file-server, file-sharing, http, networking.
- [copyparty](https://www.automicvault.com/pkg/brew/copyparty/) - Shares av.db curated category or tags: cli, file-server, file-sharing, networking, webdav.
- [netatalk](https://www.automicvault.com/pkg/brew/netatalk/) - Shares av.db curated category or tags: cli, file-server, file-sharing, networking.
- [phodav](https://www.automicvault.com/pkg/brew/phodav/) - Shares av.db curated category or tags: cli, file-sharing, networking, webdav.
- [btpd](https://www.automicvault.com/pkg/brew/btpd/) - Shares av.db curated category or tags: cli, file-sharing, networking.
- [davix](https://www.automicvault.com/pkg/brew/davix/) - Shares av.db curated category or tags: cli, http, networking, webdav.
- [gtk-gnutella](https://www.automicvault.com/pkg/brew/gtk-gnutella/) - Shares av.db curated category or tags: cli, file-sharing, networking.
- [ncdc](https://www.automicvault.com/pkg/brew/ncdc/) - Shares av.db curated category or tags: cli, file-sharing, networking.
- [miniserve](https://www.automicvault.com/pkg/brew/miniserve/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, file, file-sharing, http, http-server.

## Combined YAML source

View the package source record on GitHub. [combined/dufs.yml](https://github.com/automic-vault/db/blob/main/combined/dufs.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
