1
0
Fork 0
hugo/docs/content/en/installation/macos.md

1.2 KiB

title description categories keywords weight
macOS Install Hugo on macOS.
10

Editions

{{% include "/_common/installation/01-editions.md" %}}

Unless your specific deployment needs require the extended/deploy edition, we recommend the extended edition.

{{% include "/_common/installation/02-prerequisites.md" %}}

{{% include "/_common/installation/03-prebuilt-binaries.md" %}}

Package managers

{{% include "/_common/installation/homebrew.md" %}}

MacPorts

MacPorts is a free and open-source package manager for macOS. To install the extended edition of Hugo:

sudo port install hugo

{{% include "/_common/installation/04-build-from-source.md" %}}

Comparison

Prebuilt binaries Package managers Build from source
Easy to install? ✔️ ✔️ ✔️
Easy to upgrade? ✔️ ✔️ ✔️
Easy to downgrade? ✔️ ✔️ 1 ✔️
Automatic updates? 2
Latest version available? ✔️ ✔️ ✔️

  1. Easy if a previous version is still installed. ↩︎

  2. Possible but requires advanced configuration. ↩︎