Hugo is a static site generator written in Go, optimized for speed and designed for flexibility.

Commands Link to heading

Install Hugo Link to heading

brew install hugo

Check Version Link to heading

hugo version

Update Hugo Link to heading

brew upgrade hugo

Create a new project Link to heading

hugo new site my-hugo-site

Use theme Link to heading

cd my-hugo-site
git init
git submodule add theme repository
echo "theme = 'theme name'" >> hugo.toml

Create a post Link to heading

hugo new content posts/hello-world.md

Start server Link to heading

hugo server

Reference Link to heading