Getting Started with Hugo
Last updated: August 2, 2023
Getting Started with Hugo
Hugo is one of the most popular open-source static site generators. With its amazing speed and flexibility, Hugo makes building websites fun again.
What is Hugo?
Hugo is a static HTML and CSS website generator written in Go. It is optimized for speed, ease of use, and configurability. Hugo takes a directory with content and templates and renders them into a full HTML website.
Hugo is designed to work with any kind of website including blogs, docs, portfolios, and more.
Prerequisites
Before you start using Hugo, you need to have the following installed:
- Git
- Go 1.19 or later (required for installing Hugo from source)
Installation
Installing on Windows
- Download the latest Hugo release from the official Hugo website
- Extract the zip file
- Add the Hugo executable to your PATH environment variable
Installing on macOS
Using Homebrew:
brew install hugo