# static-web-server mit Homebrew, Nix, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für static-web-server in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:static-web-server
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install static-web-server
```

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#static-web-server
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/st/static-web-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/static-web-server
```

  Evidenz: Scoop official bucket manifest trees: bucket/static-web-server.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:static-web-server
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/static-web-server>
- **Version:** 2.44.0
- **Quellzusammenfassung:** High-performance and asynchronous web server for static files-serving
- **Homepage:** <https://static-web-server.net>
- **Repository:** <https://github.com/static-web-server/static-web-server>
- **Upstream-Dokumentation:** <https://static-web-server.net>
- **Lizenz:** Apache-2.0 OR MIT
- **Quellarchiv:** <https://github.com/static-web-server/static-web-server/archive/refs/tags/v2.44.0.tar.gz>
- **Zuletzt aktualisiert:** 2026-08-01T02:50:39Z
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- static-web-server (cli)
- static-web-server (Alias)

## Build-Abhängigkeiten

- rust

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 2.44.0
- Manager aktualisiert: 2026-08-01
- lokale Daten: OK
- Upstream-Repository: https://github.com/static-web-server/static-web-server
- neueste erkannte Version: v2.44.0 (aktuell)
## Projektgeschichte und Nutzung

Static Web Server is a Rust command-line HTTP server for serving static files and assets. In package-manager culture it belongs to the small, single-purpose server family: a binary that can be installed quickly, pointed at a directory, and used for local previews, containers, CI jobs, or simple production static hosting.

### Projektgeschichte

The upstream repository was created in September 2019 and the project describes itself as a cross-platform, high-performance asynchronous static-file server. Its README emphasizes a tiny production-ready server built on Rust, Hyper, and Tokio, with HTTP/1, HTTP/2, TLS, compression, directory listings, cache headers, CORS, and other deployment-oriented features.

The project moved beyond a local preview utility by publishing release binaries, Docker images, a crates.io package, and official documentation. The v2 series is documented as the stable line while the main branch README identifies an upcoming v3 as still in development.

### Adoptionsgeschichte

The input package metadata lists Static Web Server in Homebrew, Nix, and Scoop, which places it in the cross-platform CLI packaging set used by developers on macOS, Linux, and Windows. The official README also highlights prebuilt binaries, Docker images, crates.io, docs.rs, and support for Linux, macOS, Windows, FreeBSD, NetBSD, Android, Docker, and WebAssembly.

Its adoption pattern is typical for Rust infrastructure CLIs: package managers provide the executable for day-to-day use, while Docker and static release binaries cover container and server deployments.

### Wie es verwendet wird

Common usage is to install the `static-web-server` executable and serve a directory of static content. Configuration can be supplied through command-line flags, environment variables, or a TOML file, making the tool convenient both for one-off local serving and repeatable deployment.

### Warum Paket-Nerds sich dafür interessieren

Package maintainers care about Static Web Server because it is a modern replacement for ad hoc `python -m http.server` style workflows when users need compression, TLS, headers, logging, Docker images, and static binaries without bringing in a full application server.

Its value in package indexes comes from being a small executable with a large practical surface: easy to bottle or cache, useful in CI, and relevant to web projects that only need to ship files.

### Zeitleiste

- 2019: Upstream GitHub repository created.
- 2019: Early v1 release series published on GitHub.
- 2026: Official downloads page listed v2.43.0 with release binaries for multiple platforms.

### Related projects

- Related tools include other static-file servers and development preview servers, while the implementation is tied to the Rust Hyper and Tokio ecosystem.

### Quellen

- <https://github.com/static-web-server/static-web-server>
- <https://raw.githubusercontent.com/static-web-server/static-web-server/master/README.md>
- <https://static-web-server.net/download-and-install/>
- input.source_facts.package-manager
- input.source_facts.repo


## Sicherheitshinweise

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

- **Geiger-Risiko:** blue / mittel
- broad file, network, media, or database tool signal


## 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: ./sws.toml
- Windows: .\sws.toml
## Details aus der Quelldatenbank

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

## Andere Paketmanager-Einträge

- Nix - static-web-server: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/static-web-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/static-web-server: normalized package name match | Scoop official bucket manifest trees: bucket/static-web-server.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Verwandte Links

- [Secret-risk packages](https://pkg.so/de/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/de/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/de/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://pkg.so/de/brew/rust/) - Build dependency declared by Homebrew.
- [ferron](https://pkg.so/de/brew/ferron/) - Shares pkgdb curated category or tags: cli, http, networking, rust, web-server.
- [nginx](https://pkg.so/de/brew/nginx/) - Shares pkgdb curated category or tags: cli, http, networking, web-server.
- [httpd](https://pkg.so/de/brew/httpd/) - Shares pkgdb curated category or tags: cli, http, networking, web-server.
- [dufs](https://pkg.so/de/brew/dufs/) - Shares pkgdb curated category or tags: cli, http, networking, static-files.
- [civetweb](https://pkg.so/de/brew/civetweb/) - Shares pkgdb curated category or tags: cli, http, networking, web-server.
- [bozohttpd](https://pkg.so/de/brew/bozohttpd/) - Shares pkgdb curated category or tags: cli, http, networking, web-server.
- [yaws](https://pkg.so/de/brew/yaws/) - Shares pkgdb curated category or tags: cli, http, networking, web-server.
- [webfs](https://pkg.so/de/brew/webfs/) - Shares pkgdb curated category or tags: cli, networking, static-files, web-server.
- [miniserve](https://pkg.so/de/brew/miniserve/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, high, http, networking, performance.
- [darkhttpd](https://pkg.so/de/brew/darkhttpd/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, files, http, networking, server.

## Combined YAML source

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


## Quellen

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
