mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-01 15:59:11 -05:00
5fd1e74903
``` git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash ``` Closes #11925
1.2 KiB
1.2 KiB
title | description | categories | keywords | menu | weight | toc | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
macOS | Install Hugo on macOS. |
|
|
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? | ✔️ | ✔️ | ✔️ |