---
title: "Netlify Plus Hugo 0.20 and Beyond | Netlify"
description: "Realize the speed, agility and performance of a scalable, composable web architecture with Netlify. Explore the composable web platform now!"
source: "https://www.netlify.com/blog/2017/04/11/netlify-plus-hugo-0.20-and-beyond/"
last_updated: "2026-07-14T19:43:11.000Z"
---
[Hugo 0.20](https://github.com/gohugoio/hugo/releases) was released yesterday with an amazing new set of features. We’re super fans of Hugo at Netlify and we always like to make new releases available on our platform as soon as we can.

This blog post explains how you can start using Hugo 0.20 today, how to test that your site is working with the new version using [Deploy Contexts](https://docs.netlify.com/configure-builds/overview/), and the changes we’ve made so you can install any future new version of Hugo without having to wait for us to make it available.

_Until yesterday,_ if you wanted to use a new version of Hugo on Netlify, you had two options. The first one was to wait for us to install it on our build servers and work around name collisions. Although it was not complicated, you can see by reading this [blog post](https://www.adamwills.io/blog/hugo-version-issues-netlify/), it’s not very sustainable. The second option was to add the version of the Hugo binary you wanted to use to your repository. Since Hugo is a static binary, this is a very convenient solution if you want to manage it yourself.

_Starting today,_ if you want to use a specific new version of Hugo on Netlify, you only need to set the environment variable `HUGO_VERSION` with the version number you want to use. If it’s a valid release number, we’ll install it for you and use that version. You don’t have to wait for us, or manage binaries yourself. For example, if you want to use Hugo 0.20 right now, you can go to your site’s settings (Build and Deploy, Build Environment Variables section) and set `HUGO_VERSION` to `0.20` in your environment.

This change will apply to your production site, so I don’t recommend you to do this right away.

This is one of the times where our Deploy Contexts come very handy. We can use them to tell Netlify to use a new version of Hugo only for testing. To do that, open the `netlify.toml` file in your repository, or create it if you don’t have it already and add the following section:

```
[context.deploy-preview.environment]  HUGO_VERSION = "0.20"
```

Create a new pull request for this change in your repository, and Netlify will use this specific version of Hugo only for its preview. Once you are confident that your site is working as expected, you can promote this version to production.

You can also do this in the configuration file directly. Replace the previous section with a new production section:

```
[context.production.environment]  HUGO_VERSION = "0.20"
```

As part of our commitment to Open Source, we thought it could be interesting for other people to know how we made this work. We wrote a very small program called [Binrc](https://github.com/netlify/binrc) that downloads release files from GitHub. We use it in our build servers to detect version numbers for projects using GitHub releases, and pull the specific binaries. We’re planning on extending this program to support other binaries, but it was a great MVP to test with Hugo.

With this change, we’re giving you total control on when and how to use new releases of Hugo. Let us know if you have feedback, we’d love to hear from you.

### Share

-   [X (fka Twitter)](https://twitter.com/intent/tweet?text=Netlify Plus Hugo 0.20 and Beyond&url=https://www.netlify.com/blog/2017/04/11/netlify-plus-hugo-0.20-and-beyond//)
-   [LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fwww.netlify.com%2Fblog%2F2017%2F04%2F11%2Fnetlify-plus-hugo-0.20-and-beyond%2F%2F)
-   [Facebook](https://www.facebook.com/sharer.php?u=https://www.netlify.com/blog/2017/04/11/netlify-plus-hugo-0.20-and-beyond//)
-   [Bluesky](https://bsky.app/intent/compose?text=Netlify Plus Hugo 0.20 and Beyond+https://www.netlify.com/blog/2017/04/11/netlify-plus-hugo-0.20-and-beyond//)

* * *

### Tags

-   [Hugo](/blog/tags/hugo/)
-   [Build](/blog/tags/Build/)
-   [Deploy](/blog/tags/deploy/)

## Keep reading

![](/_astro/bbe3cfe0b5d5228f5d0a66e26ce057de315c7712-1200x675_ZQfk21.webp)

Tools & Services December 3, 2025

[

### Vibe coding to production with Kiro powers

](/blog/vibe-coding-production-kiro-powers)

-   ![Profile picture of Gehrig Kunz](/_astro/b4e9f58d914d1334ea70d53ea55a1f26b26f1445-512x512_17SwOI.webp)
    
    Gehrig Kunz
    

![](/_astro/b596a7453ede5fe6739bd12506636fe522828198-2400x1351_1ANtEG.webp)

Tools & Services February 21, 2025

[

### Secure local development with Codezero for Netlify

](/blog/secure-local-development-codezero)

-   Kathleen Randall
    

## Recent posts

News & Announcements July 14, 2026

[

### More headroom, a lower per-credit rate, and a bill you can predict: introducing new Pro plan tiers

](/blog/new-pro-plan-tiers)

-   ![Profile picture of Gehrig Kunz](/_astro/b4e9f58d914d1334ea70d53ea55a1f26b26f1445-512x512_17SwOI.webp)
    
    Gehrig Kunz
    

News & Announcements July 13, 2026

[

### Netlify inside of Claude Design

](/blog/netlify-inside-of-claude-design)

-   ![Profile picture of Sean Roberts](/_astro/bbf2243f8171dbddd80ab2103622106cef84d125-512x512_Z1d2LKE.webp)
    
    Sean Roberts
    

News & Announcements June 25, 2026

[

### Netlify Functions, designed for Agent Experience

](/blog/netlify-functions-designed-for-agent-experience)

-   ![Profile picture of Eduardo Bouças](/_astro/52958f21e8450baf6d8e60302341a984e220c0cd-512x512_13VDlu.webp)
    
    Eduardo Bouças
    

![](/_astro/3f255b372fa958df35802666ee33b4609b2d71bd-1200x1586_1VtE2D.webp)

### How do the best dev and marketing teams work together?

[Access the report](https://www.netlify.com/reports/2024-leadership-trend-report/access/)