
Getting Started with Hugo
Hugo is a fast static site generator written in Go. This guide walks you through getting it running locally.
Prerequisites
- macOS, Linux, or Windows
- A terminal
Installation
On macOS with Homebrew:
brew install hugo
Verify the install:
hugo version
Scaffold a new site
hugo new site mysite --format toml
cd mysite
Start the dev server
hugo server --buildDrafts
Open http://localhost:1313 in your browser. Hugo rebuilds in milliseconds on every file save.