mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
Merge commit '87de22d7464e239c775fbd48ebce1665d5b1e80d'
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
---
|
||||
title: Installation
|
||||
linkTitle: Installation overview
|
||||
linkTitle: Overview
|
||||
description: Install Hugo on macOS, Linux, Windows, BSD, and on any machine that can run the Go compiler tool chain.
|
||||
aliases: [/getting-started/installing/]
|
||||
categories: [installation]
|
||||
keywords: [installation]
|
||||
menu:
|
||||
docs:
|
||||
identifier: installation-overview
|
||||
parent: installation
|
||||
weight: 10
|
||||
weight: 10
|
||||
---
|
||||
|
||||
{{% param "description" %}}
|
||||
|
@@ -2,7 +2,11 @@
|
||||
|
||||
Hugo is available in two editions: standard and extended. With the extended edition you can:
|
||||
|
||||
- Encode WebP images (you can decode WebP images with both editions)
|
||||
- Transpile Sass to CSS using the embedded LibSass transpiler
|
||||
- Encode to the WebP format when [processing images]. You can decode WebP images with either edition.
|
||||
- [Transpile Sass to CSS] using the embedded LibSass transpiler. The extended edition is not required to use the [Dart Sass] transpiler.
|
||||
|
||||
We recommend that you install the extended edition.
|
||||
|
||||
[dart sass]: /hugo-pipes/transpile-sass-to-css/#dart-sass
|
||||
[processing images]: /content-management/image-processing/
|
||||
[transpile sass to css]: /hugo-pipes/transpile-sass-to-css/
|
||||
|
@@ -1,27 +1,36 @@
|
||||
## Prerequisites
|
||||
|
||||
Although not required in all cases, Git and Go are often used when working with Hugo.
|
||||
Although not required in all cases, [Git], [Go], and [Dart Sass] are commonly used when working with Hugo.
|
||||
|
||||
Git is required to:
|
||||
|
||||
- Use the [Hugo Modules] feature
|
||||
- Build Hugo from source
|
||||
- Use the [Hugo Modules] feature
|
||||
- Install a theme as a Git submodule
|
||||
- Access [commit information] from a local Git repository
|
||||
- Host your site with services such as [AWS Amplify], [CloudCannon], [Cloudflare Pages], [GitHub Pages], [GitLab Pages], and [Netlify].
|
||||
- Host your site with services such as [CloudCannon], [Cloudflare Pages], [GitHub Pages], [GitLab Pages], and [Netlify]
|
||||
|
||||
Go is required to:
|
||||
|
||||
- Use the Hugo Modules feature
|
||||
- Build Hugo from source
|
||||
- Use the Hugo Modules feature
|
||||
|
||||
Please refer to the [Git] and [Go] documentation for installation instructions.
|
||||
Dart Sass is required to transpile Sass to CSS when using the latest features of the Sass language.
|
||||
|
||||
[AWS Amplify]: https://aws.amazon.com/amplify/
|
||||
[CloudCannon]: https://cloudcannon.com/
|
||||
[Cloudflare Pages]: https://pages.cloudflare.com/
|
||||
[Git]: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
|
||||
[GitHub Pages]: https://pages.github.com/
|
||||
[GitLab Pages]: https://docs.gitlab.com/ee/user/project/pages/
|
||||
[Go]: https://go.dev/doc/install
|
||||
[Netlify]: https://www.netlify.com/
|
||||
Please refer to the relevant documentation for installation instructions:
|
||||
|
||||
- [Git][git install]
|
||||
- [Go][go install]
|
||||
- [Dart Sass][dart sass install]
|
||||
|
||||
[cloudcannon]: https://cloudcannon.com/
|
||||
[cloudflare pages]: https://pages.cloudflare.com/
|
||||
[dart sass install]: /hugo-pipes/transpile-sass-to-css/#dart-sass
|
||||
[dart sass]: https://sass-lang.com/dart-sass
|
||||
[git install]: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
|
||||
[git]: https://git-scm.com/
|
||||
[github pages]: https://pages.github.com/
|
||||
[gitlab pages]: https://docs.gitlab.com/ee/user/project/pages/
|
||||
[go install]: https://go.dev/doc/install
|
||||
[go]: https://go.dev/
|
||||
[netlify]: https://www.netlify.com/
|
||||
|
@@ -13,7 +13,7 @@ Please consult your operating system documentation if you need help setting file
|
||||
|
||||
If you do not see a prebuilt binary for the desired edition, operating system, and architecture, install Hugo using one of the methods described below.
|
||||
|
||||
[commit information]: https://gohugo.io/variables/git
|
||||
[commit information]: /variables/git
|
||||
[edition]: #editions
|
||||
[Git]: https://git-scm.com/
|
||||
[Go]: https://go.dev/
|
||||
|
@@ -29,6 +29,18 @@ This will install the extended edition of Hugo:
|
||||
sudo snap install hugo
|
||||
```
|
||||
|
||||
To enable access to removable media:
|
||||
|
||||
```sh
|
||||
sudo snap connect hugo:removable-media
|
||||
```
|
||||
|
||||
To revoke access to removable media:
|
||||
|
||||
```sh
|
||||
sudo snap disconnect hugo:removable-media
|
||||
```
|
||||
|
||||
[most distributions]: https://snapcraft.io/docs/installing-snapd
|
||||
[strictly confined]: https://snapcraft.io/docs/snap-confinement
|
||||
[Snap]: https://snapcraft.io/
|
||||
|
Reference in New Issue
Block a user