A package manager, like Homebrew ( brew) or MacPorts ( port).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.
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. 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.