Hugo Quickstart

This is mostly for my own reference, but if you generally know what you’re doing when it comes to deploying a website and just want the bare minimum Hugo knowledge to put up a blog, here it is.

Download latest tarball.

Start new site

hugo new site <sitename>

Change directory into the themes folder and clone/unzip a theme. in themes folder

To set theme, open config.toml and set theme value.

Create post:

hugo new posts/

Change some stuff in config.toml.

  • baseURL
  • theme
  • title


hugo -D


rsync -avz public/

Or, as I like to do, create a simple script and put both of those commands in it.