AptLynx

Command-line tool

serve

brew/serve

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Static http server anywhere you need one

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

scoop install serve

macOS

brew install serve

Linux

brew install serve

Start an HTTP server listening on the default port to serve the current directory

serve

Start an HTTP server on a specific [p]ort to serve a specific directory

serve -p port path/to/directory

Start an HTTP server with CORS enabled by including the `Access-Control-Allow-Origin: *` header in all responses

serve -C

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents