Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'

This commit is contained in:
Bjørn Erik Pedersen
2025-04-10 13:04:51 +02:00
987 changed files with 12379 additions and 14083 deletions

View File

@@ -1,29 +1,23 @@
---
title: Windows
description: Install Hugo on Windows.
categories: [installation]
categories: []
keywords: []
menu:
docs:
parent: installation
weight: 40
weight: 40
toc: true
weight: 30
---
{{% note %}}
Hugo v0.121.1 and later require at least Windows 10 or Windows Server 2016.
{{% /note %}}
> [!note]
> Hugo v0.121.1 and later require at least Windows 10 or Windows Server 2016.
## Editions
{{% include "installation/_common/01-editions.md" %}}
{{% include "/_common/installation/01-editions.md" %}}
Unless your specific deployment needs require the extended/deploy edition, we recommend the extended edition.
{{% include "installation/_common/02-prerequisites.md" %}}
{{% include "/_common/installation/02-prerequisites.md" %}}
{{% include "installation/_common/03-prebuilt-binaries.md" %}}
{{% include "/_common/installation/03-prebuilt-binaries.md" %}}
## Package managers
@@ -35,8 +29,6 @@ Unless your specific deployment needs require the extended/deploy edition, we re
choco install hugo-extended
```
[Chocolatey]: https://chocolatey.org/
### Scoop
[Scoop] is a free and open-source package manager for Windows. To install the extended edition of Hugo:
@@ -45,8 +37,6 @@ choco install hugo-extended
scoop install hugo-extended
```
[Scoop]: https://scoop.sh/
### Winget
[Winget] is Microsoft's official free and open-source package manager for Windows. To install the extended edition of Hugo:
@@ -61,13 +51,10 @@ To uninstall the extended edition of Hugo:
winget uninstall --name "Hugo (Extended)"
```
[Winget]: https://learn.microsoft.com/en-us/windows/package-manager/
{{% include "/_common/installation/04-build-from-source.md" %}}
{{% include "installation/_common/04-build-from-source.md" %}}
{{% note %}}
See these [detailed instructions](https://discourse.gohugo.io/t/41370) to install GCC on Windows.
{{% /note %}}
> [!note]
> See these [detailed instructions](https://discourse.gohugo.io/t/41370) to install GCC on Windows.
## Comparison
@@ -81,3 +68,7 @@ Latest version available?|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mar
[^1]: Possible but requires advanced configuration.
[^2]: Easy if a previous version is still installed.
[Chocolatey]: https://chocolatey.org/
[Scoop]: https://scoop.sh/
[Winget]: https://learn.microsoft.com/en-us/windows/package-manager/