Downloads of v 0.47:


Last Update:

21 Aug 2018

Package Maintainer(s):

Software Author(s):

  • spf13


hugo admin blog website network


This is not the latest version of hugo available.

0.47 | Updated: 21 Aug 2018



Downloads of v 0.47:



Software Author(s):

  • spf13

hugo 0.47

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.47
    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.47'
  source   'STEP 3 URL'

See docs at

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

Requires Otter Chocolatey Extension. See docs at

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

Requires cChoco DSC Resource. See docs at

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

Requires Puppet Chocolatey Provider module. See docs at

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

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 21 Aug 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).


$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      = '3b710735b6ea15380b480fb7727b1d814f1a880faf78f610a714d45ddfd98a43'
  checksumType  = 'sha256'
  checksum64    = '9e528cf75dcc58784602bbbae1d2eb9831ac5137ee032ea1019161e721df9417'
  checksumType64= 'sha256'

Install-ChocolateyZipPackage @packageArgs
$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

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.75.0 236 Monday, September 14, 2020 Approved
Hugo 0.74.3 3931 Thursday, July 23, 2020 Approved
Hugo 0.74.2 749 Friday, July 17, 2020 Approved
Hugo 0.74.1 571 Tuesday, July 14, 2020 Approved
Hugo 0.74.0 172 Monday, July 13, 2020 Approved
Hugo 0.73.0 1883 Tuesday, June 23, 2020 Approved
Hugo 0.72.0 2273 Sunday, May 31, 2020 Approved
Hugo 0.71.1 793 Monday, May 25, 2020 Approved
Hugo 0.71.0 837 Monday, May 18, 2020 Approved

0.47 August 16th 2018



  • Suppress blank lines from opengraph internal template c09ee78f @anthonyfok
  • Add MIME type to embedded JS 755d1ffe @bep #5042
  • Add os.Stat template function d7112085 @satotake


  • Add support for minification of final output 789ef8c6 @bep #1251


  • Regenerate CLI docs 4a16b5f4 @bep
  • Include theme name in version mismatch error e5052f4e @bep #5044
  • Make the JS minifier matcher less specific c81fbf46 @bep #5073
  • Close file when done f6ae436c @bep #5062
  • https links to 3rd party sites c2a67413 @coliff
  • Update alias.go 06bd0136 @coliff
  • Remove test debug fb3cb05c @bep
  • Update dependencies d07882df @bep
  • Update Chroma 7f535671 @bep #5025
  • Remove alias of os.Stat 71931b30 @satotake
  • Renmae FileStat Stat d40116e5 @satotake
  • Reduce allocation in the benchmark itself a6b1eb1e @bep
  • Simplify the 0 transformer case 27110133 @bep



  • Fix compiling Amber templates that import other templates 37438757 @Stebalien
  • Reimplement the ".Params tolower" template transformer 5c538491 @bep #5068


  • Fix Resource output in multihost setups 78f8475a @bep #5058


  • Force render of any changed page, even in Fast Render Mode 22475460 @bep #5083
  • Add configFile(s) back to the watch list after REMOVE event abc54080 @anthonyfok #4701
  • Gracefully handle typos in server config when running the server a655e00d @bep #5081
  • Fix shortcode output wrapped in p 78c99463 @gllera #1642
  • Adjust tests for shortcode p-issue baa62d0a @bep #1642
  • Fix image cache-clearing for sub-languages 9d973004 @bep #5084
  • Fix error when deleting a bundle in server mode 0a88741f @bep #5077
  • Fix Related when called from shortcode 0dd06bda @bep #5071
  • Use the interface value when doing Related search a6f199f7 @bep #5071
  • Fix GitInfo when multiple content dirs 2182ecfd @bep #5054
  • Add multiple content dirs to GitInfo test site e85833d8 @bep #5054
  • Fix "adding a bundle" in server mode d139a037 @bep #5075
  • Fix typo c362634b @satotake

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