blob: 92979d9f2501b5c5403e51aec3498a294011bbc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
---
title: Windows
description: Install Hugo on Windows.
categories: [installation]
menu:
docs:
parent: installation
weight: 40
toc: true
weight: 40
---
{{% readfile file="/installation/common/01-editions.md" %}}
{{% readfile file="/installation/common/02-prerequisites.md" %}}
{{% readfile file="/installation/common/03-prebuilt-binaries.md" %}}
## Package managers
### Chocolatey
[Chocolatey] is a free and open source package manager for Windows. This will install the extended edition of Hugo:
```sh
choco install hugo-extended
```
[Chocolatey]: https://chocolatey.org/
### Scoop
[Scoop] is a free and open source package manager for Windows. This will install the extended edition of Hugo:
```sh
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" %}}
{{% note %}}
See these [detailed instructions](https://discourse.gohugo.io/t/41370) to install GCC on Windows.
{{% /note %}}
## Comparison
||Prebuilt binaries|Package managers|Docker|Build from source
:--|:--:|:--:|:--:|:--:|:--:
Easy to install?|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|
Easy to upgrade?|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:
Easy to downgrade?|:heavy_check_mark:|:heavy_check_mark: [^2]|:heavy_check_mark:|:heavy_check_mark:
Automatic updates?|:x:|:x: [^1]|:x: [^1]|:x:
Latest version available?|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:
[^1]: Possible but requires advanced configuration.
[^2]: Easy if a previous version is still installed.
|