---
title: hugo.GoVersion
description: Returns the Go version used to compile the Hugo binary
categories: []
keywords: []
action:
  aliases: []
  related: []
  returnType: string
  signatures: [hugo.GoVersion]
---

{{< new-in 0.101.0 >}}

```go-html-template
{{ hugo.GoVersion }} → go1.21.1
```
