# Install hugo with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Configurable static site generator. Version 0.164.0 via Homebrew; verified 2026-07-06.

## Install

```sh
sudo av install brew:hugo
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install hugo
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hugo
```

  Evidence: MacPorts ports tree: www/hugo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add hugo
```

  Evidence: Alpine Linux edge package indexes: hugo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install hugo
```

  Evidence: Debian stable package indexes: hugo from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install hugo
```

  Evidence: Fedora Rawhide package metadata: hugo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#hugo
```

  Evidence: nixpkgs package indexes: pkgs/by-name/hu/hugo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S hugo
```

  Evidence: Arch Linux sync databases: hugo from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install hugo
```

  Evidence: openSUSE Tumbleweed package metadata: hugo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install hugo
```

  Evidence: Chocolatey community package catalog: hugo from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','hexchat'

- Scoop (92%):

```sh
scoop install main/hugo
```

  Evidence: Scoop official bucket manifest trees: bucket/hugo.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Hugo.Hugo -e
```

  Evidence: Windows Package Manager source index: Hugo.Hugo from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:hugo
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/hugo>
- **Version:** 0.164.0
- **Source summary:** Configurable static site generator
- **Homepage:** <https://gohugo.io/>
- **Repository:** <https://github.com/gohugoio/hugo>
- **Upstream docs:** <https://gohugo.io/documentation>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/gohugoio/hugo/archive/refs/tags/v0.164.0.tar.gz>
- **Last updated:** 2026-07-06T21:39:18Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- hugo (cli)
- hugo (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.164.0
- Package-manager updated: 2026-07-06
- Local data: ok
- Upstream repository: https://github.com/gohugoio/hugo
- Upstream latest detected: v0.164.0 (current)
## Project history and usage

Hugo is a Go-based static site generator and website framework focused on fast builds, flexible content modeling, themes, asset pipelines, and deployable static output. Its official site describes it as one of the most popular open-source static site generators, while the repository README emphasizes speed, flexibility, multilingual sites, taxonomies, themes, and Hugo Modules.

### Project history

The gohugoio/hugo repository was created in July 2013, and GitHub Releases metadata records v0.7 on July 5, 2013. The README credits Hugo as built by Bjørn Erik Pedersen, Steve Francia, and contributors in Go, reflecting the project's evolution from a fast static site generator into a broader website framework with modules, asset processing, embedded development server behavior, and multiple build editions.

Hugo grew alongside the Markdown-and-Git static-site culture that valued local builds, reviewable content repositories, and deployment to static hosts. Its Go implementation and prebuilt binaries helped distinguish it from static site generators that required a language runtime and dependency tree on the target machine.

### Adoption history

Hugo's adoption is visible across package-manager coverage and its own community infrastructure. The batch metadata lists Homebrew, Debian, Ubuntu, Fedora, Arch, openSUSE, MacPorts, Nix, Chocolatey, Scoop, winget, and other package entries, while the official site recorded 88,799 GitHub stars as of June 30, 2026 and points users to a forum, themes directory, and documentation repository.

### How it is used

Users run `hugo` to build static sites from content, templates, data, and assets, and `hugo server` during local development. Project configuration commonly lives in `hugo.toml`, `hugo.yaml`, `hugo.json`, or a `config/` directory, and sites often combine Markdown content, taxonomies, themes, image processing, Sass or Tailwind workflows, and Git-backed deployment.

### Why package nerds care

For package nerds, Hugo is a flagship example of a cross-platform Go CLI that package managers distribute as a single developer tool with few runtime surprises. It also shows how package-manager installation, upstream binary releases, theme registries, and documentation tooling can reinforce one another for a content-heavy developer ecosystem.

### Timeline

- 2013: gohugoio/hugo repository created and v0.7 release published.
- 2015: v0.15 release published during the project's early expansion.
- 2017: v0.20 release published as Hugo's release stream accelerated.
- 2026: Official site recorded 88,799 GitHub stars as of June 30, 2026.

### Related projects

- Related projects include Go, Markdown, Hugo Modules, Hugo Themes, the Hugo documentation repository, static-site hosts, GitHub Pages-style workflows, Sass, Tailwind CSS, PostCSS, and other static site generators.

### Sources

- Official Hugo site and documentation, repository README, GitHub repository and release metadata, and Homebrew package metadata supplied in the batch input.


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./hugo.toml, ./hugo.yaml, ./hugo.json, ./config/
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** hugo
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - hugo - 0.131.0-1: normalized package name match | Debian stable package indexes: hugo from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast and flexible Static Site Generator written in Go | https://gohugo.io/
- Nix - hugo: normalized package name match | nixpkgs package indexes: pkgs/by-name/hu/hugo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - hugo - 0.123.7-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: hugo from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fast and flexible Static Site Generator written in Go | https://gohugo.io/
- apk - hugo - 0.160.1-r1: normalized package name match | Alpine Linux edge package indexes: hugo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast and flexible static site generator written in Go | https://gohugo.io/
- apk - hugo-bash-completion - 0.160.1-r1: normalized package name match | Alpine Linux edge package indexes: hugo-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for hugo | https://gohugo.io/
- apk - hugo-doc - 0.160.1-r1: normalized package name match | Alpine Linux edge package indexes: hugo-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast and flexible static site generator written in Go (documentation) | https://gohugo.io/
- apk - hugo-fish-completion - 0.160.1-r1: normalized package name match | Alpine Linux edge package indexes: hugo-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for hugo | https://gohugo.io/
- apk - hugo-zsh-completion - 0.160.1-r1: normalized package name match | Alpine Linux edge package indexes: hugo-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for hugo | https://gohugo.io/
- dnf - hugo - 0.162.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: hugo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The world’s fastest framework for building websites | https://github.com/gohugoio/hugo
- pacman - hugo - 0.163.0-1: normalized package name match | Arch Linux sync databases: hugo from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Fast and Flexible Static Site Generator in Go | https://gohugo.io/
- zypper - hugo - 0.161.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: hugo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Static website generator written in Go | https://github.com/gohugoio/hugo
- zypper - hugo-bash-completion - 0.161.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: hugo-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash Completion for hugo | https://github.com/gohugoio/hugo
- zypper - hugo-zsh-completion - 0.161.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: hugo-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | ZSH Completion for hugo | https://github.com/gohugoio/hugo
- MacPorts - hugo: normalized package name match | MacPorts ports tree: www/hugo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - hugo: normalized package name match | Chocolatey community package catalog: hugo from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','hexchat'
- Scoop - main/hugo: normalized package name match | Scoop official bucket manifest trees: bucket/hugo.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [gostatic](https://www.automicvault.com/pkg/brew/gostatic/) - Shares av.db curated category or tags: cli, developer-tools, go, markdown, static-site-generator.
- [zola](https://www.automicvault.com/pkg/brew/zola/) - Shares av.db curated category or tags: cli, developer-tools, markdown, static-site-generator, website.
- [cobalt](https://www.automicvault.com/pkg/brew/cobalt/) - Shares av.db curated category or tags: cli, developer-tools, static-site-generator, website.
- [docfx](https://www.automicvault.com/pkg/brew/docfx/) - Shares av.db curated category or tags: cli, developer-tools, markdown, static-site-generator.
- [eleventy](https://www.automicvault.com/pkg/brew/eleventy/) - Shares av.db curated category or tags: cli, developer-tools, markdown, static-site-generator.
- [jbake](https://www.automicvault.com/pkg/brew/jbake/) - Shares av.db curated category or tags: cli, developer-tools, markdown, static-site-generator.
- [marmite](https://www.automicvault.com/pkg/brew/marmite/) - Shares av.db curated category or tags: cli, developer-tools, markdown, static-site-generator.
- [pelican](https://www.automicvault.com/pkg/brew/pelican/) - Shares av.db curated category or tags: cli, developer-tools, markdown, static-site-generator.

## Combined YAML source

View the package source record on GitHub. [combined/hugo.yml](https://github.com/automic-vault/db/blob/main/combined/hugo.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
