Hugo¶
Hugo is written in Go with support for multiple platforms but you do not need to install Go you just need the pre-compiled binary
- macOS
- Windows
- Linux
macOS¶
Using https://brew.sh/
brew install hugo
Windows¶
Using https://chocolatey.org/
choco install hugo -confirm
Linux¶
Using https://docs.brew.sh/Homebrew-on-Linux
brew install hugo
Create a new site¶
hugo new site site-name
Create a new section¶
hugo new --kind chapter basics/_index.md
Create a new sub-section¶
hugo new basics/first-content.md