mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-27 22:09:53 +02:00
Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs'
``` git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash ``` Closes #11925
This commit is contained in:
46
docs/content/en/installation/macos.md
Normal file
46
docs/content/en/installation/macos.md
Normal file
@@ -0,0 +1,46 @@
|
||||
---
|
||||
title: macOS
|
||||
description: Install Hugo on macOS.
|
||||
categories: [installation]
|
||||
keywords: []
|
||||
menu:
|
||||
docs:
|
||||
parent: installation
|
||||
weight: 20
|
||||
weight: 20
|
||||
toc: 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:
|
||||
|
||||
```sh
|
||||
sudo port install hugo
|
||||
```
|
||||
|
||||
[MacPorts]: https://www.macports.org/
|
||||
|
||||
{{% include "installation/_common/04-build-from-source.md" %}}
|
||||
|
||||
## Comparison
|
||||
|
||||
||Prebuilt binaries|Package managers|Build from source
|
||||
:--|:--:|:--:|:--:
|
||||
Easy to install?|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|
|
||||
Easy to upgrade?|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:
|
||||
Easy to downgrade?|:heavy_check_mark:|:heavy_check_mark: [^1]|:heavy_check_mark:
|
||||
Automatic updates?|:x:|:x: [^2]|:x:
|
||||
Latest version available?|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:
|
||||
|
||||
[^1]: Easy if a previous version is still installed.
|
||||
[^2]: Possible but requires advanced configuration.
|
Reference in New Issue
Block a user