Go to Hugo releases and download the appropriate version for your OS and architecture.
Save it somewhere specific as we will be using it in the next step.
More complete instructions are available at Install Hugo
Hugo has its own example site which happens to also be the documentation site you are reading right now.
Follow the following steps:
Corresponding pseudo commands:
git clone https://github.com/spf13/hugo
cd hugo
/path/to/where/you/installed/hugo server --source=./docs
> 29 pages created
> 0 tags index created
> in 27 ms
> Web Server is available at http://localhost:1313
> Press ctrl+c to stop
Once you’ve gotten here, follow along the rest of this page on your local build.
Stop the Hugo process by hitting Ctrl+C.