Special thanks to Simon Bruno and his Three.js Journey course that has introduced me to building with the Three.js framework.
Download Node.js. Run this followed commands:
# Install dependencies (only the first time)
npm install
# Run the local server at localhost:8080
npm run dev
# Build for production in the dist/ directory
npm run build