mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
1.4 KiB
1.4 KiB
title | description | categories | menu | toc | weight | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
macOS | Install Hugo on macOS. |
|
|
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? | ✔️ | ✔️ | ✔️ | ✔️ |