

You should use the method that works best for your use case. There is no “best” way to install Hugo on your Mac.

There are three ways to install Hugo on your Mac If you are familiar enough with the command line and file system, you should have no issues following along with the instructions.) You will use ~/Sites as the starting point for your site.
BREW CASK INSTALL OLDER VERSION HOW TO
You know how to open the macOS terminal.If you are a Windows user, substitute the $HOME environment variable above with %USERPROFILE%. If you are on macOS and using Homebrew, you can install Hugo with the following one-liner: We currently do not offer official Hugo images for Docker, but we do recommend these up to date distributions: Homebrew (macOS) usr/local/bin is the most probable location. Ideally, you should install it somewhere in your PATH for easy use. This works well for shared hosts and other systems where you don’t have a privileged account. You don’t need to install it into a global location. Once downloaded, the binary can be run from anywhere. Quick Install Binary (Cross-platform)ĭownload the appropriate version for your platform from Hugo Releases.
BREW CASK INSTALL OLDER VERSION FULL
See for the full set of supported combinations of target operating systems and compilation 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.
