Http-server, a simple zero-configuration command line http server 15 years ago
Like the documentation clearly states, there is nothing stopping you from:
git clone git://github.com/nodejitsu/http-server.git
cd http-server
node bin/http-server
The curl installation is for npm, the node package manager, which is actually optional to use http-server