# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/miniserve>
- **版本:** 0.35.0
- **来源摘要:** High performance static file server
- **主页:** <https://github.com/svenstaro/miniserve>
- **仓库:** <https://github.com/svenstaro/miniserve>
- **上游文档:** <https://github.com/svenstaro/miniserve#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/svenstaro/miniserve/archive/refs/tags/v0.35.0.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- miniserve (cli)
- miniserve (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.35.0
- 本地数据: OK
- 上游仓库: https://github.com/svenstaro/miniserve
- 检测到的最新版本: v0.35.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

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

## 源数据库详情

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

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

- 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


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [rustypaste](https://www.automicvault.com/zh-hans/pkg/brew/rustypaste/) - Shares av.db curated category or tags: cli, file-sharing, http-server, networking, rust.
- [asuka](https://www.automicvault.com/zh-hans/pkg/brew/asuka/) - Shares av.db curated category or tags: cli, networking, rust.
- [bore-cli](https://www.automicvault.com/zh-hans/pkg/brew/bore-cli/) - Shares av.db curated category or tags: cli, networking, rust.
- [boringtun](https://www.automicvault.com/zh-hans/pkg/brew/boringtun/) - Shares av.db curated category or tags: cli, networking, rust.
- [caddy](https://www.automicvault.com/zh-hans/pkg/brew/caddy/) - Shares av.db curated category or tags: cli, http-server, networking.
- [cloudflare-quiche](https://www.automicvault.com/zh-hans/pkg/brew/cloudflare-quiche/) - Shares av.db curated category or tags: cli, networking, rust.
- [darkhttpd](https://www.automicvault.com/zh-hans/pkg/brew/darkhttpd/) - Shares av.db curated category or tags: cli, http-server, networking.
- [ferron](https://www.automicvault.com/zh-hans/pkg/brew/ferron/) - Shares av.db curated category or tags: cli, networking, rust.
- [dufs](https://www.automicvault.com/zh-hans/pkg/brew/dufs/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, file, file-sharing, http, http-server.
- [yaserver](https://www.automicvault.com/zh-hans/pkg/npm/yaserver/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, http, networking, server, servers.
- [lite-server](https://www.automicvault.com/zh-hans/pkg/npm/lite-server/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, http, networking, server, servers.

## Combined YAML source

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


## 来源

- 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
