# Install http-server with npm

A simple zero-configuration command-line http server. Version 14.1.1 via npm; verified 2022-05-31.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g http-server
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:http-server
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/http-server>
- **Version:** 14.1.1
- **Source summary:** A simple zero-configuration command-line http server
- **Homepage:** <https://github.com/http-party/http-server#readme>
- **Repository:** <https://github.com/http-party/http-server>
- **Upstream docs:** <https://github.com/http-party/http-server#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/http-server/-/http-server-14.1.1.tgz>
- **Issue tracker:** <https://github.com/http-party/http-server/issues>
- **Published:** 2022-05-31T21:34:27.707Z
- **Last updated:** 2022-05-31T21:34:27.707Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- http-server (cli)

## Dependencies

- basic-auth
- chalk
- corser
- he
- html-encoding-sniffer
- http-proxy
- mime
- minimist
- opener
- portfinder
- secure-compare
- union
- url-join

## Build dependencies

- eol
- eslint
- eslint-config-populist
- express
- request
- tap

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 14.1.1
- Package-manager updated: 2022-05-31
- Local data: ok
- Upstream repository: https://github.com/http-party/http-server
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

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


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 14.1.1
- **Version Count:** 49
- **Maintainers:** indexzero, bigbluehat, thornjad
- **Publisher:** thornjad
- **Engines:** Node: >=12
- **Integrity:** sha512-+cbxadF40UXd9T01zUHgA+rlo2Bg1Srer4+B4NwIHdaGxAGGv59nYRnGGDJ9LBk7alpS0US+J+bLLdQOOkJq4A==
- **Shasum:** d60fbb37d7c2fdff0f0fbff0d0ee6670bd285e2e
- **Unpacked Size:** 124,459
- **File Count:** 0
- **Created At:** 2011-06-17T00:03:43.653Z
- **Latest Published At:** 2022-05-31T21:34:27.707Z
- **Modified At:** 2025-10-13T17:09:14.983Z

## Other Package-Manager Records

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


## Related links

- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched curated package taxonomy and local package facts.
- [http-server](https://www.automicvault.com/pkg/brew/http-server/) - Same normalized package name appears in another local ecosystem. Shared terms: command-line, configuration, http, http-server, line.
- [angular-http-server](https://www.automicvault.com/pkg/npm/angular-http-server/) - Local metadata places this package in an adjacent workflow. Shared terms: http, http-proxy, http-server, mime, minimist.
- [polyserve](https://www.automicvault.com/pkg/npm/polyserve/) - Both packages work with overlapping file formats or content types. Shared terms: html, http, line, mime, proxy.
- [http-server](https://www.automicvault.com/pkg/brew/http-server/) - Same normalized package name exists in another local package ecosystem.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
