Notices: This section not yet converted to new layout. Download stats are rolling back out.



Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 3/5/2018.


A Fast and Flexible Static Site Generator built with love by spf13 and friends in Go.

Website |
Forum |
Developer Chat (no support) |
Documentation |
Installation Guide |
Contribution Guide |

Linux and OS X Build Status
Windows Build Status
Dev chat at
Go Report Card


Hugo is a static HTML and CSS website generator written in [Go][].
It is optimized for speed, easy use and configurability.
Hugo takes a directory with content and templates and renders them into a full HTML website.

Hugo relies on Markdown files with front matter for meta data.
And you can run Hugo from any directory.
This works well for shared hosts and other systems where you don’t have a privileged account.

Hugo renders a typical website of moderate size in a fraction of a second.
A good rule of thumb is that each piece of content renders in around 1 millisecond.

Hugo is designed to work well for any kind of website including blogs, tumbles and docs.

Contributing to Hugo

We welcome contributions to Hugo of any kind including documentation, themes,
organization, tutorials, blog posts, bug reports, issues, feature requests,
feature implementations, pull requests, answering questions on the forum,
helping to manage issues, etc.

The Hugo community and maintainers are very active and helpful, and the project benefits greatly from this activity.

Asking Support Questions

We have an active discussion forum where users and developers can ask questions.
Please don't use the Github issue tracker to ask questions.

Reporting Issues

If you believe you have found a defect in Hugo or its documentation, use
the Github issue tracker to report the problem to the Hugo maintainers.
If you're not sure if it's a bug or not, start by asking in the discussion forum.
When reporting the issue, please provide the version of Hugo in use (hugo version).


To install hugo, run the following command from the command line or from PowerShell:

C:\> choco install hugo

To upgrade hugo, run the following command from the command line or from PowerShell:

C:\> choco upgrade hugo


  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    $packageName= $env:ChocolateyPackageName
    $toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $url        = "$($env:ChocolateyPackageVersion)/hugo_$($env:ChocolateyPackageVersion)"
    $url64      = "$($env:ChocolateyPackageVersion)/hugo_$($env:ChocolateyPackageVersion)"
    $packageArgs = @{
      packageName   = $packageName
      unzipLocation = $toolsDir
      url           = $url
      url64bit      = $url64
      checksum      = '7262ba2186a1cb9471205d95700b3356a31e2c5c46b409eae3875158562bfea5'
      checksumType  = 'sha256'
      checksum64    = 'f046b38d7313ef2f41830dd0381237a529b0b711f3f36bce29e964783b050696'
      checksumType64= 'sha256'
    Install-ChocolateyZipPackage @packageArgs
  • tools\chocolateyUninstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    $hugoExe = Get-ChildItem $(Split-Path -Parent $MyInvocation.MyCommand.Definition) | Where-Object -Property Name -Match "hugo.exe"
    if (-Not($hugoExe)) 
        Write-Error -Message "hugo exe is not found, please contact the maintainer of the package" -Category ResourceUnavailable
    Write-Host "found hugo exe in $($hugoExe.FullName)"
    Write-Host "attempting to remove it" 
    Remove-Item $hugoExe.FullName

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.


This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • spf13


Release Notes

0.37 Feb 27th 2018


  • Hugo will now convert non-string YAML map keys to string. See #4393 for more information. You will get a WARNING in the console if you are touched by this.
  • We have improved the PNG processing, and have incremented the version numbers on the URL for the processed PNG image. This will just work, but you may want to run hugo --gc to clean up some old stale images in the resource cache.



  • Add template func for TOML/JSON/YAML docs examples conversion. This is mainly motivated by the needs of the Hugo docs site. d382502d @bep #4389


  • Refactor tests for JSON, YAML and TOML equivalency, add coverage 82eefded @vassudanagunta
  • Re-enable YAML data tests disabled in f554503 e1728349 @vassudanagunta


  • Preserve color palette for PNG images 799c654b @bep #4416
  • Use Floyd-Steinberg dithering for PNGs 13ea1e7c @bep #4453
  • Make ge, le etc. work with the Hugo Version number 0602135f @bep #4443
  • Update dependencies eaf573a2 @bep #4418
  • Update to Go 1.10 (!) Take 2 a3f26e56 @bep
  • Update to Go 1.10 (!) ff10c15a @bep
  • Add WARNING for integer YAML keys 0816a97a @bep #4393
  • Tune stringifyMapKeys 10a917df @bep
  • Rename stringifyYAMLMapKeys to stringifyMapKeys d4beef0d @bep
  • Add benchmarks for stringifyYAMLMapKeys 51213e0b @bep
  • Add support for YAML array data files 1fa24177 @vassudanagunta #3890
  • Account for array type data in data dir merge/override logic bb549a0d @vassudanagunta #4366
  • Add "target" and "rel" parameters to figure shortcode 2e95ec68 @kaushalmodi
  • image" property, not "twitter:image:src" 76d38d5e @kaushalmodi



  • Continue GitInfo lookup on error e9750d83 @bep
  • Fix paginator URL for sections with URL in front matter 9f740b37 @bep #4415


  • Fix bug in Site.assembleSections method 00868081 @vassudanagunta #4447
  • Update Blackfriday to fix footnote HTML5 validation error 492fea7c @bep #4433
  • Fix YAML maps key type 16a5c745 @dmgawel #2441
  • Remove ERROR on missing baseURL 55bd46a6 @bep #4397

Version History

Version Downloads Last updated Status
hugo 0.36 1272 Monday, February 12, 2018 approved
hugo 0.35 211 Friday, February 9, 2018 approved
hugo 0.34 594 Monday, January 29, 2018 approved
hugo 0.33 28 Monday, January 29, 2018 approved
hugo 0.32.4 740 Monday, January 15, 2018 approved
hugo 0.32.3 25 Monday, January 15, 2018 approved
hugo 0.32.2 645 Thursday, January 4, 2018 approved
hugo 0.32.1 31 Thursday, January 4, 2018 approved
hugo 0.32 33 Thursday, January 4, 2018 approved
Show More

Discussion for the hugo Package

Ground rules:

  • This discussion is only about hugo and the hugo package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or hugo, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus uses cookies to enhance the user experience of the site.