mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
Merge commit 'f96384a3b596f9bc0a3a035970b09b2c601f0ccb'
This commit is contained in:
@@ -9,7 +9,6 @@ menu:
|
||||
docs:
|
||||
parent: installation
|
||||
weight: 10
|
||||
toc: false
|
||||
---
|
||||
|
||||
{{% param "description" %}}
|
||||
|
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: BSD
|
||||
linkTitle: BSD
|
||||
description: Install Hugo on BSD derivatives.
|
||||
categories: [installation]
|
||||
menu:
|
||||
|
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Linux
|
||||
linkTitle: Linux
|
||||
description: Install Hugo on Linux.
|
||||
categories: [installation]
|
||||
menu:
|
||||
@@ -20,13 +19,18 @@ weight: 30
|
||||
|
||||
### Snap
|
||||
|
||||
[Snap] is a free and open source package manager for Linux. Available for [most distributions], Snap packages are simple to install and are automatically updated. This will install the extended edition of Hugo:
|
||||
[Snap] is a free and open source package manager for Linux. Available for [most distributions], snap packages are simple to install and are automatically updated.
|
||||
|
||||
The Hugo snap package is [strictly confined]. Strictly confined snaps run in complete isolation, up to a minimal access level that’s deemed always safe. The sites you create and build must be located within your home directory, or on removable media.
|
||||
|
||||
This will install the extended edition of Hugo:
|
||||
|
||||
```sh
|
||||
sudo snap install hugo
|
||||
```
|
||||
|
||||
[most distributions]: https://snapcraft.io/docs/installing-snapd
|
||||
[strictly confined]: https://snapcraft.io/docs/snap-confinement
|
||||
[Snap]: https://snapcraft.io/
|
||||
|
||||
{{% readfile file="/installation/common/homebrew.md" %}}
|
||||
@@ -104,7 +108,7 @@ The [Solus] distribution of Linux includes Hugo in its package repository. This
|
||||
sudo eopkg install hugo
|
||||
```
|
||||
|
||||
[Solus]: https://getsol.us/home/
|
||||
[Solus]: https://getsol.us/
|
||||
|
||||
{{% readfile file="/installation/common/04-docker.md" %}}
|
||||
|
||||
|
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: macOS
|
||||
linkTitle: macOS
|
||||
description: Install Hugo on macOS.
|
||||
categories: [installation]
|
||||
menu:
|
||||
|
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Windows
|
||||
linkTitle: Windows
|
||||
description: Install Hugo on Windows.
|
||||
categories: [installation]
|
||||
menu:
|
||||
@@ -38,6 +37,16 @@ scoop install hugo-extended
|
||||
|
||||
[Scoop]: https://scoop.sh/
|
||||
|
||||
### Winget
|
||||
|
||||
[Winget] is Microsoft's official free and open source package manager for Windows. This will install the extended edition of Hugo:
|
||||
|
||||
```sh
|
||||
winget install Hugo.Hugo.Extended
|
||||
```
|
||||
|
||||
[Winget]: https://learn.microsoft.com/en-us/windows/package-manager/
|
||||
|
||||
{{% readfile file="/installation/common/04-docker.md" %}}
|
||||
|
||||
{{% readfile file="/installation/common/05-build-from-source.md" %}}
|
||||
|
Reference in New Issue
Block a user