First off, make sure to have Git properly installed and set up.
MacOS & Linux
Make sure you have Brew installed. Then, to install Hugo:
brew install hugo
If you use Chocolatey:
choco install hugo -confirm
Alternatively, see other installing options here.
Create a New Local Website
You’re now ready to start.
To create a new Hugo website, move to a directory of your choice and run:
hugo new site yourwebsitename
yourwebsitename is the name of the folder you’ve just created. Your entire website will live inside this folder on your computer.
Congrats! In the next sections, you will start tweaking your new website.
Check out the Hugo documentation for the official quick start guide.