npx
lets you run different versions of Hugo without installation. To use it, install Node.js and npm at first.
# local installed version or latest version
npx hugo-extended
# Hugo v0.121.0
npx hugo-extended@0.121.0
npx hugo-extended@0.121.0 version
npx hugo-extended@0.121.0 server
# Hugo v0.99.1
npx hugo-extended@0.99.1 version
Full tutorial: