Serve the current directory over HTTP

Bash

Three ways to put a folder on localhost when you need to test something quickly.

python3 -m http.server 8000
npx --yes serve .
php -S localhost:8000

More in Shell

Random picks