hugo/content/en/installation/macos.md
Bjørn Erik Pedersen 9b0050e9aa Squashed 'docs/' content from commit 5c085a37b
git-subtree-dir: docs
git-subtree-split: 5c085a37b297bf12f59efeaae591418ec025c10d
2024-01-27 10:48:33 +01:00

1.2 KiB

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

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

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

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

Package managers

{{% include "installation/_common/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 "installation/_common/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. ↩︎