Downloads of v 0.20.5:


Last Update:

25 Apr 2017

Package Maintainer(s):

Software Author(s):

  • spf13


hugo admin blog website network


This is not the latest version of hugo available.

0.20.5 | Updated: 25 Apr 2017



Downloads of v 0.20.5:



Software Author(s):

  • spf13

hugo 0.20.5

This is not the latest version of hugo available.

All Checks are Passing

2 Passing Test

Validation Testing Passed

Verification Testing Passed


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


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


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


NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade hugo -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade hugo -y --source="'STEP 3 URL'"

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Ensure hugo installed
    name: hugo
    state: present
    version: 0.20.5
    source: STEP 3 URL

See docs at

Coming early 2020! Central Managment Reporting available now! More information...

chocolatey_package 'hugo' do
  action    :install
  version  '0.20.5'
  source   'STEP 3 URL'

See docs at

    Name: hugo,
    Version: 0.20.5,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller hugo
   Name     = 'hugo'
   Ensure   = 'Present'
   Version  = '0.20.5'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'hugo':
  provider => 'chocolatey',
  ensure   => '0.20.5',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install hugo version="0.20.5" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

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

This package was approved as a trusted package on 07 Jun 2017.



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).


$ErrorActionPreference = 'Stop'; # stop on all errors
Install-ChocolateyZipPackage -packageName 'hugo' -UnzipLocation $(Split-Path -Parent $MyInvocation.MyCommand.Definition) -Url '' -checksum '9237B0281FF97EEBB29FFCB6A73DD712F7F5EACCD9357E2593D8D2F418DCF979' -checksumType 'sha256'-Url64 '' -checksum64 '194AF4D59D76D5A4BB1E3F2E594090D47F9E1CFD4C7790FC0D0B6D6A7E153EFB' -checksumType64 'sha256'
$ErrorActionPreference = 'Stop'; # stop on all errors

$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

Log in or click on link to see number of positives.

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.

Version Downloads Last Updated Status
Hugo 0.76.4 662 Monday, October 12, 2020 Approved
Hugo 0.76.3 550 Thursday, October 8, 2020 Approved
Hugo 0.76.2 305 Wednesday, October 7, 2020 Approved
Hugo 0.76.0 152 Tuesday, October 6, 2020 Approved
Hugo 0.75.1 2061 Tuesday, September 15, 2020 Approved
Hugo 0.75.0 241 Monday, September 14, 2020 Approved
Hugo 0.74.3 3945 Thursday, July 23, 2020 Approved
Hugo 0.74.2 757 Friday, July 17, 2020 Approved
Hugo 0.74.1 575 Tuesday, July 14, 2020 Approved

0.20 April 10th 2017

Hugo 0.20 introduces the powerful and long sought after feature Custom Output Formats; Hugo isn’t just that “static HTML with an added RSS feed” anymore. Say hello to calendars, e-book formats, Google AMP, and JSON search indexes, to name a few ( #2828 ).

This release represents over 180 contributions by over 30 contributors to the main Hugo code base. Since last release Hugo has gained 1100 stars, 20 new contributors and 5 additional themes.

Hugo now has:

  • 16300+ stars
  • 495+ contributors
  • 156+ themes

@bep still leads the Hugo development with his witty Norwegian humor, and once again contributed a significant amount of additions. Also a big shoutout to @digitalcraftsman for his relentless work on keeping the documentation and the themes site in pristine condition, and @moorereason and @bogem for their ongoing contributions.

Other Highlights

@bogem has also contributed TOML as an alternative and much simpler format for language/i18n files (#3200). A feature you will appreciate when you start to work on larger translations.

Also, there have been some important updates in the Emacs Org-mode handling: @chaseadamsio has fixed the newline-handling ( #3126 ) and @clockoon has added basic footnote support.

Worth mentioning is also the ongoing work that @rdwatters and @budparr is doing to re-do the site, including a total restructuring and partial rewrite of the documentation. It is getting close to finished, and it looks fantastic!


  • RSS description in the built-in template is changed from full .Content to .Summary. This is a somewhat breaking change, but is what most people expect from their RSS feeds. If you want full content, please provide your own RSS template.
  • The deprecated .RSSlink is now removed. Use .RSSLink.
  • RSSUri is deprecated and will be removed in a future Hugo version, replace it with an output format definition.
  • The deprecated .Site.GetParam is now removed, use .Site.Param.
  • Hugo does no longer append missing trailing slash to baseURL set as a command line parameter, making it consistent with how it behaves from site config. #3262


  • Hugo 0.20 is built with Go 1.8.1.
  • Add .Site.Params.mainSections that defaults to the section with the most pages. Plan is to get themes to use this instead of the hardcoded blog in where clauses. #3206
  • File extension is now configurable. #320
  • Impove markdownify template function performance. #3292
  • Add taxonomy terms’ pages to .Data.Pages #2826
  • Change RSS description from full .Content to .Summary.
  • Ignore “.” dirs in hugo --cleanDestinationDir #3202
  • Allow jekyll import to accept both 2006-01-02 and 2006-1-2 date format #2738
  • Raise the default rssLimit #3145
  • Unify section list vs single template lookup order #3116
  • Allow apply to be used with the built-in Go template funcs print, printf and println. #3139


  • Fix deadlock in getJSON #3211
  • Make sure empty terms pages are created. #2977
  • Fix base template lookup order for sections #2995
  • URL fixes:
    • Fix pagination URLs with baseURL with sub-root and canonifyUrls=false #1252
    • Fix pagination URL for resources with “.” in name #2110 #2374 #1885
    • Handle taxonomy names with period #3169
    • Handle uglyURLs ambiguity in Permalink #3102
    • Fix Permalink for language-roots wrong when uglyURLs is true #3179
    • Fix misc case issues for URLs #1641
    • Fix for taxonomies URLs when uglyUrls=true #1989
    • Fix empty RSSLink for list pages with content page. #3131
  • Correctly identify regular pages on the form “” #3234
  • Exit -1 on ERROR in global logger #3239
  • Document hugo help command #2349
  • Fix internal Hugo version handling for bug fix releases. #3025
  • Only return RSSLink for pages that actually have a RSS feed. #1302

This package has no dependencies.

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