Start a simple Node.js server in macOS without any installation:
terminalnpx http-server
npx http-server
Or you can do it using Python:
terminalpython -m SimpleHTTPServer 8000
python -m SimpleHTTPServer 8000
Hi, I'm Erik, an engineer from Barcelona. If you like the post or have any comments, say hi.