Back to Hugo

Windows

docs/content/en/installation/windows.md

0.161.11.7 KB
Original Source

[!note] Hugo v0.121.1 and later require at least Windows 10 or Windows Server 2016.

{{% include "/_common/installation/01-editions.md" %}}

{{% include "/_common/installation/02-prerequisites.md" %}}

{{% include "/_common/installation/03-prebuilt-binaries.md" %}}

Package managers

Chocolatey

Chocolatey is a free and open-source package manager for Windows. To install the extended edition of Hugo:

sh
choco install hugo-extended

Scoop

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

sh
scoop install hugo-extended

Winget

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

sh
winget install Hugo.Hugo.Extended

To uninstall the extended edition of Hugo:

sh
winget uninstall --name "Hugo (Extended)"

{{% include "/_common/installation/04-build-from-source.md" %}}

[!note] See these detailed instructions to install GCC on Windows.

Comparison

 Prebuilt binariesPackage managersBuild from source
Easy to install?:heavy_check_mark::heavy_check_mark::heavy_check_mark:
Easy to upgrade?:heavy_check_mark::heavy_check_mark::heavy_check_mark:
Easy to downgrade?:heavy_check_mark::heavy_check_mark: 1:heavy_check_mark:
Automatic updates?:x::x: 2:x:
Latest version available?:heavy_check_mark::heavy_check_mark::heavy_check_mark:

Footnotes

  1. Easy if a previous version is still installed.

  2. Possible but requires advanced configuration.