# Install static-server with npm

A simple http server to serve static resource files from a local directory. Version 2.2.1 via npm; verified 2018-04-03. Also installable with nix: nix profile install nixpkgs#static-server.

## Install

```sh
sudo av install npm:static-server
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g static-server
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:static-server
- **Package manager:** npm
- **Version:** 2.2.1
- **Source summary:** A simple http server to serve static resource files from a local directory.
- **Homepage:** <https://github.com/nbluis/static-server#readme>
- **Last updated:** 2018-04-03T14:23:43.285Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- static-server (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.2.1

## Security Notes

No matching local secret-handling manifest was found for static-server. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Other Package-Manager Records

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


## Sources

- pkg.so package database
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
