How to install hugo

  1. Install homebrew.
  2. Install git.
  3. Install hugo.
  4. Build a home page layout.

How to add a new page in hugo

hugo new .md

Reminders

Delete “public” folder before adding a new page in your site.

Commands

brew install hugo

brew upgrade hugo

hugo version

Cmd + K (clears terminal)

hugo server

Ctrl + C (kill the server)

cd .. (return)

code . (opens visual studio code)