Hugo Free Blogging Platform
World’s Most Popular Open Source Static Site Generator
A fast and flexible static site generator. Hugo is great for content-driven websites, because it is completely dependency-free and is easy to get going.
What is a Static Site Generator (SSG)? These days websites has grown to deliver more and more content. As result, the web development industry found new ways to make the process of maintaining and updating sites more efficient. A static site generator is essentially a set of tools for building static websites based on a set of input files.
Static site generators build a web page once, at the moment you’re creating new content or editing it. In contrast, content management systems like WordPress build a page every time a visitor requests. There are a lot of advantages and benefits to choosing a static site generator like Hugo over a system like WordPress.
One of the biggest benefits of having a static site is definitely speed. Static websites are incredibly fast. Hugo is labeled as one of the most easiest static website generators. Hugo is the fastest tool of its kind. At
Hugo allows you to output your content in multiple formats, including JSON or AMP, and makes it easy to create your own. It supports unlimited content types, taxonomies, menus, dynamic API-driven content, and more, all without plugins. Hugo also ships with pre-made templates. It also provides full i18n support for multi-language sites
- Hugo runs on a standard version of all major desktop operating systems - Windows, MacOS and the various flavors of Unix.
- You need to have Go installed to use Hugo modules. If you plan to not use Hugo modules and manually place the theme in the themes folder of the website, then Go installation is not required. If Hugo isd installed via the package manager, the package manager takes care of installing the Go Language. The installation instruction for Go are present at golang.org/doc/install. You do not need to learn Go or use it directly within Hugo.
- While git is not required to use Hugo, if git is used as a version control system, Hugo provides access to the metadata in the templates. Git is available in all package managers as git. You can also get git from git-scm.com/. You can learn more about git from Git in Practice and Learn Git in a Month of Lunches.
Hugo boasts blistering speed, robust content management, and a powerful templating language making it a great fit for all kinds of static websites.
- Extremely fast build times (< 1 ms per page)
- Completely cross platform, with easy installation on macOS, Linux, Windows, and more
- Renders changes on the fly with LiveReload as you develop
- Powerful theming
- Host your site anywhere
- Straightforward organization for your projects, including website sections
- Customizable URLs
- Support for configurable taxonomies, including categories and tags
- Sort content as you desire through powerful template functions
- Automatic table of contents generation
- Dynamic menu creation
- Pretty URLs support
- Permalink pattern support
- Redirects via aliases
- Native Markdown and Emacs Org-Mode support, as well as other languages via external helpers (see supported formats)
- TOML, YAML, and JSON metadata support in front matter
- Customizable homepage
- Multiple content types
- Automatic and user defined content summaries
- Shortcodes to enable rich content inside of Markdown
- “Minutes to Read” functionality
- “WordCount” functionality
- Integrated Disqus comment support
- Integrated Google Analytics support
- Automatic RSS creation
- Support for Go HTML templates
- Syntax highlighting powered by Chroma
Install Hugo on macOS, Windows, Linux, OpenBSD, FreeBSD, and on any machine where the Go compiler tool chain can run.
Hugo is written in Go with support for multiple platforms. The latest release can be found at Hugo Releases.
Hugo currently provides pre-built binaries for the following:
- macOS (Darwin) for x64, i386, and ARM architectures
Hugo may also be compiled from source wherever the Go toolchain can run; e.g., on other operating systems such as DragonFly BSD, OpenBSD, Plan 9, Solaris, and others. See https://golang.org/doc/install/source for the full set of supported combinations of target operating systems and compilation architectures.
Download the appropriate version for your platform from Hugo Releases. Once downloaded, the binary can be run from anywhere. You don’t need to install it into a global location. This works well for shared hosts and other systems where you don’t have a privileged account.
Ideally, you should install it somewhere in your
PATH for easy use.
/usr/local/bin is the most probable location.
We currently do not offer official Hugo images for Docker, but we do recommend these up to date distributions:
If you are on macOS and using Homebrew, you can install Hugo with the following one-liner:
brew install hugo
For more detailed explanations, read the installation guides that follow for installing on macOS and Windows.
If you are on macOS and using MacPorts, you can install Hugo with the following one-liner:
port install hugo
If you are using Homebrew on Linux, you can install Hugo with the following one-liner:
brew install hugo
Installation guides for Homebrew on Linux are available on their website.
If you are on a Windows machine and use Chocolatey for package management, you can install Hugo with the following one-liner:
choco install hugo -confirm
Or if you need the “extended” Sass/SCSS version:
choco install hugo-extended -confirm
If you are on a Windows machine and use Scoop for package management, you can install Hugo with the following one-liner:
scoop install hugo
Or install the extended version with:
scoop install hugo-extended