Skip to content

Instantly share code, notes, and snippets.

@d2s
Last active July 17, 2017 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d2s/5e3cc5b5423f690b7e88df8837326101 to your computer and use it in GitHub Desktop.
Save d2s/5e3cc5b5423f690b7e88df8837326101 to your computer and use it in GitHub Desktop.
Installing Hugo

Hugo

Installing Hugo

Depending on the used platform, there are different ways to install Hugo.

Installing Hugo to Linux

There are different alternatives to the installation, but it most often makes the most sense to use the pre-compiled version.

Installing Hugo to Linux with Snap

Simplest way is to use Snap packages for installation.

sudo snap install hugo

Updating to the latest version with Snap

sudo snap refresh hugo

Installing Hugo to macOS

For macOS, it makes sense to install Hugo from Homebrew package management:

brew update && brew install hugo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment