Automic VaultAutomic Vault

brew

使用 Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 hugo

查看 hugo 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install hugo

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install hugo

MacPorts ports tree · www/hugo/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add hugo

Alpine Linux edge package indexes · hugo · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install hugo

Debian stable package indexes · hugo · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install hugo

Fedora Rawhide package metadata · hugo · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#hugo

nixpkgs package indexes · pkgs/by-name/hu/hugo/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S hugo

Arch Linux sync databases · hugo · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install hugo

openSUSE Tumbleweed package metadata · hugo · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install hugo

Chocolatey community package catalog · hugo · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/hugo

Scoop official bucket manifest trees · bucket/hugo.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Hugo.Hugo -e

Windows Package Manager source index · Hugo.Hugo · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Configurable static site generator

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

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

来源

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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
./hugo.toml./hugo.yaml./hugo.json./config/

可执行文件

已安装的可执行文件

命令类型暴露范围备注
hugocli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.164.0
管理器更新时间2026-07-06
本地数据OK
上游当前
检测到的最新版本v0.164.0

https://github.com/gohugoio/hugo

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:hugo
版本0.164.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/hugo
主页https://gohugo.io/
仓库https://github.com/gohugoio/hugo
上游文档https://gohugo.io/documentation
许可证Apache-2.0
源码归档https://github.com/gohugoio/hugo/archive/refs/tags/v0.164.0.tar.gz
最后更新2026-07-06T21:39:18Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehugo
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

hugo 0.131.0-1

Fast and flexible Static Site Generator written in Go

https://gohugo.io/

sudo apt install hugo
  • Section: web
  • Architecture: amd64
  • 3 依赖
  • 6 可选依赖
  • normalized package name match
  • 匹配方式:Hugo
Debian stable package indexes · deb.debian.org · Debian stable package indexes: hugo from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

hugo

nix profile install nixpkgs#hugo
  • normalized package name match
  • 匹配方式:Hugo
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/hu/hugo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

hugo 0.123.7-1build1

Fast and flexible Static Site Generator written in Go

https://gohugo.io/

sudo apt install hugo
  • Section: universe/web
  • Architecture: amd64
  • 3 依赖
  • 6 可选依赖
  • normalized package name match
  • 匹配方式:Hugo
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: hugo from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

hugo 0.160.1-r1

Fast and flexible static site generator written in Go

https://gohugo.io/

sudo apk add hugo
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: hugo
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Hugo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hugo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hugo-bash-completion 0.160.1-r1

Bash completions for hugo

https://gohugo.io/

sudo apk add hugo-bash-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: hugo
  • normalized package name match
  • 匹配方式:Hugo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hugo-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hugo-doc 0.160.1-r1

Fast and flexible static site generator written in Go (documentation)

https://gohugo.io/

sudo apk add hugo-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: hugo
  • normalized package name match
  • 匹配方式:Hugo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hugo-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hugo-fish-completion 0.160.1-r1

Fish completions for hugo

https://gohugo.io/

sudo apk add hugo-fish-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: hugo
  • normalized package name match
  • 匹配方式:Hugo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hugo-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hugo-zsh-completion 0.160.1-r1

Zsh completions for hugo

https://gohugo.io/

sudo apk add hugo-zsh-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: hugo
  • normalized package name match
  • 匹配方式:Hugo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hugo-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

hugo 0.162.1-1.fc45

The world’s fastest framework for building websites

https://github.com/gohugoio/hugo

sudo dnf install hugo
  • License: 0BSD AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0 AND OFL-1.1 AND Unlicense
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: hugo
  • 6 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Hugo
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: hugo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

hugo 0.163.0-1

Fast and Flexible Static Site Generator in Go

https://gohugo.io/

sudo pacman -S hugo
  • License: Apache-2.0
  • Architecture: x86_64
  • 3 依赖
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Hugo
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: hugo from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

hugo 0.161.1-1.1

Static website generator written in Go

https://github.com/gohugoio/hugo

sudo zypper install hugo
  • License: Apache-2.0
  • Category: System/Management
  • Architecture: x86_64
  • Source Package: hugo
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Hugo
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: hugo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

hugo-bash-completion 0.161.1-1.1

Bash Completion for hugo

https://github.com/gohugoio/hugo

sudo zypper install hugo-bash-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: hugo
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Hugo
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: hugo-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

hugo-zsh-completion 0.161.1-1.1

ZSH Completion for hugo

https://github.com/gohugoio/hugo

sudo zypper install hugo-zsh-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: hugo
  • 1 提供
  • normalized package name match
  • 匹配方式:Hugo
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: hugo-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

hugo

sudo port install hugo
  • normalized package name match
  • 匹配方式:Hugo
MacPorts ports tree · api.github.com · MacPorts ports tree: www/hugo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

hugo

choco install hugo
  • normalized package name match
  • 匹配方式:Hugo
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: hugo from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','hexchat'
Scoop95%

main/hugo

scoop install main/hugo
  • normalized package name match
  • 匹配方式:Hugo
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/hugo.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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