# 使用 Homebrew, apk, MacPorts, Nix, pacman, scoop, winget 安装 miniserve

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

## 安装

```sh
sudo av install brew:miniserve
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install miniserve
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install miniserve
```

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

### Linux

- apk (92%):

```sh
sudo apk add miniserve
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#miniserve
```

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

- pacman (92%):

```sh
sudo pacman -S miniserve
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/miniserve
```

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

- winget (92%):

```sh
winget install --id svenstaro.miniserve -e
```

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

## 软件包事实

- **软件包键:** brew:miniserve
- **软件包管理器:** Homebrew
- **版本:** 0.35.0
- **来源摘要:** High performance static file server
- **主页:** <https://github.com/svenstaro/miniserve>
- **仓库:** <https://github.com/svenstaro/miniserve>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- miniserve (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

miniserve is a Rust command-line static file server from the svenstaro/miniserve project, with Cargo metadata naming Sven-Hendrik Haase and Boastful Squirrel as authors. Its niche is the fast ad hoc HTTP server: a user points it at a file or directory and gets a browsable download page without configuring a full web server.

### 项目历史

The project grew beyond the classic directory-listing use case into a compact file-sharing tool. Its README documents single-file and directory serving, custom index files, SPA fallback, password authentication, uploads, directory creation, TLS, random routes, QR-code access, archive downloads, README rendering, range requests, health checks, and WebDAV support. Under the hood it is a Rust/Actix application packaged as a single binary, positioning it near tools such as Python's simple HTTP server for convenience but with more built-in sharing features.

### 使用方式

In package-manager terms, miniserve is a small CLI utility with unusually broad distribution for its size: the Homebrew formula ships it as a high-performance static file server, and the input record also lists Alpine, MacPorts, Nix, Arch, Scoop, and WinGet packages. In practice it is used for temporary LAN sharing, quick artifact downloads, lightweight upload endpoints, and local static-site previews.

### 来源

- <https://formulae.brew.sh/formula/miniserve>
- <https://github.com/svenstaro/miniserve>
- <https://github.com/svenstaro/miniserve/blob/master/Cargo.toml>


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- Nix - miniserve: normalized package name match | nixpkgs package indexes: pkgs/by-name/mi/miniserve/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - miniserve - 0.35.0-r0: normalized package name match | Alpine Linux edge package indexes: miniserve from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Quickly serve files via HTTP | https://github.com/svenstaro/miniserve
- apk - miniserve-bash-completion - 0.35.0-r0: normalized package name match | Alpine Linux edge package indexes: miniserve-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for miniserve | https://github.com/svenstaro/miniserve
- apk - miniserve-doc - 0.35.0-r0: normalized package name match | Alpine Linux edge package indexes: miniserve-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Quickly serve files via HTTP (documentation) | https://github.com/svenstaro/miniserve
- apk - miniserve-fish-completion - 0.35.0-r0: normalized package name match | Alpine Linux edge package indexes: miniserve-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for miniserve | https://github.com/svenstaro/miniserve
- apk - miniserve-zsh-completion - 0.35.0-r0: normalized package name match | Alpine Linux edge package indexes: miniserve-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for miniserve | https://github.com/svenstaro/miniserve
- pacman - miniserve - 0.35.0-1: normalized package name match | Arch Linux sync databases: miniserve from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Tool to serve files via HTTP | https://github.com/svenstaro/miniserve
- MacPorts - miniserve: normalized package name match | MacPorts ports tree: net/miniserve/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/miniserve: normalized package name match | Scoop official bucket manifest trees: bucket/miniserve.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - svenstaro.miniserve: normalized package name match | Windows Package Manager source index: svenstaro.miniserve from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/miniserve.yml](https://github.com/mxcl/pkgdb/blob/main/combined/miniserve.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
