hugo/docs/content/en/installation/macos.md
2022-11-17 16:16:19 +01:00

1.4 KiB

title linkTitle description categories menu toc weight
macOS macOS Install Hugo on macOS.
installation
docs
parent weight
installation 20
true 20

{{% readfile file="/installation/common/01-editions.md" %}}

{{% readfile file="/installation/common/02-prerequisites.md" %}}

{{% readfile file="/installation/common/03-prebuilt-binaries.md" %}}

Package managers

{{% readfile file="/installation/common/homebrew.md" %}}

MacPorts

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

sudo port install hugo

{{% readfile file="/installation/common/04-docker.md" %}}

{{% readfile file="/installation/common/05-build-from-source.md" %}}

Comparison

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

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

  2. Possible but requires advanced configuration. ↩︎