hugo/docs/content/en/installation/windows.md
2023-05-22 16:47:07 +02:00

2 KiB

title description categories menu toc weight
Windows Install Hugo on Windows.
installation
docs
parent weight
installation 40
true 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:

choco install hugo-extended

Scoop

Scoop is a free and open source package manager for Windows. This will install the extended edition of Hugo:

scoop install hugo-extended

Winget

Winget is Microsoft's official free and open source package manager for Windows. This will install the extended edition of Hugo:

winget install Hugo.Hugo.Extended

{{% readfile file="/installation/common/04-docker.md" %}}

{{% readfile file="/installation/common/05-build-from-source.md" %}}

{{% note %}} When building the extended edition of Hugo from source on Windows, you will also need to install the GCC compiler. See these detailed instructions.

{{% /note %}}

Comparison

Prebuilt binaries Package managers Docker Build from source
Easy to install? ✔️ ✔️ ✔️ ✔️
Easy to upgrade? ✔️ ✔️ ✔️ ✔️
Easy to downgrade? ✔️ ✔️ 1 ✔️ ✔️
Automatic updates? 2 2
Latest version available? ✔️ ✔️ ✔️ ✔️

  1. Easy if a previous version is still installed. ↩︎

  2. Possible but requires advanced configuration. ↩︎