# 使用 Homebrew, apk, MacPorts, Nix, pacman, zypper, scoop, winget 安装 zola

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

## 安装

```sh
sudo av install brew:zola
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zola
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install zola
```

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

### Linux

- apk (92%):

```sh
sudo apk add zola
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#zola
```

  证据: nixpkgs package indexes: pkgs/by-name/zo/zola/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S zola
```

  证据: Arch Linux sync databases: zola from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install zola
```

  证据: openSUSE Tumbleweed package metadata: zola from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/zola
```

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

- winget (92%):

```sh
winget install --id getzola.zola -e
```

  证据: Windows Package Manager source index: getzola.zola from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:zola
- **软件包管理器:** Homebrew
- **版本:** 0.22.1
- **来源摘要:** Fast static site generator in a single binary with everything built-in
- **主页:** <https://www.getzola.org/>
- **仓库:** <https://github.com/getzola/zola>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- zola (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.22.1
## 项目历史与用法

Zola is a Rust static site generator descended from the Gutenberg project. Its identity is deliberately package-friendly: a single binary with Markdown, Tera templates, Sass, syntax highlighting, search, themes, image processing, and live reload built in.

### 项目历史

Creator Vincent Prouillet wrote that Gutenberg began in May 2015, shortly after Rust 1.0, as a way for him and a friend to learn Rust by building a static site generator. The project was also entangled with Tera, the template engine Prouillet built after finding no Rust template library he liked for the job.

Gutenberg grew beyond the creator's original expectation of a private learning project. By 2018, the name collided with Project Gutenberg, CSS projects, and especially WordPress's Gutenberg editor, so the project was renamed Zola with the 0.5.0 release. The README still labels it "zola (ne Gutenberg)" and describes the project as an all-included static site generator.

### 采用历史

Zola entered the same broad SSG conversation as Hugo, Jekyll, and Pelican, but its adoption pitch was different: Rust implementation, a dependency-light install story, and features that often require separate tooling elsewhere. The rename was explicitly complicated by the fact that Gutenberg was already present in package managers and deployment platforms.

Its audience has been strongest among developers who want a static site generator without a Node, Ruby, Python, or Go template stack. Zola's official docs frame it as comparable to Hugo, Pelican, and Jekyll while emphasizing a single executable and Tera-based templating.

### 使用方式

A typical Zola workflow is to keep site content in Markdown, define templates with Tera, and use a small config file such as config.toml or zola.toml. The CLI builds static files for deployment and can serve locally with live reload during editing.

Zola is commonly used for blogs, documentation sites, knowledge bases, landing pages, and book-like sites. Its package appeal comes from bundling Sass compilation, syntax highlighting, table-of-contents generation, internal links, taxonomies, search, and deployment-oriented static output into one tool.

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

Zola is a clean example of the post-Jekyll static-site-generator packaging ideal: install one binary, avoid runtime dependency stacks, and get a reproducible local build command. That makes it especially attractive in package indexes where users compare tooling by executables, config files, and build ergonomics.

The Gutenberg-to-Zola rename is also a package-history lesson: names that work for a small open-source project can become liabilities once search, package managers, and deployment services start to matter.

### 时间线

- 2015: Gutenberg work begins after Rust 1.0 as a Rust-learning static site generator project.
- 2016: The current public repository history begins after earlier work was reset around Tera and the SSG implementation.
- 2018: The project opens a rename discussion because WordPress Gutenberg and other name collisions make discovery difficult.
- 2018: Zola 0.5.0 ships under the new name, carrying the Gutenberg user base forward.
- 2020s: Zola continues as a single-binary Rust SSG used for blogs, documentation, knowledge bases, and static web publishing.

### Related projects

- Hugo: the Go SSG that influenced Zola and helped define the single-binary static site generator niche.
- Jekyll and Pelican: older SSGs that Zola documentation uses as comparison points.
- Tera: Zola's Rust template engine, developed alongside the early project.
- Cobalt: another Rust SSG often compared with early Gutenberg/Zola in the Rust static-site ecosystem.

### 来源

- <https://github.com/getzola/zola>
- <https://www.getzola.org/documentation/getting-started/overview/>
- <https://www.vincentprouillet.com/blog/releasing-zola-0-5-0/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- 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: zola.toml, config.toml
## 其他软件包管理器记录

- Nix - zola: normalized package name match | nixpkgs package indexes: pkgs/by-name/zo/zola/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - zola - 0.22.1-r0: normalized package name match | Alpine Linux edge package indexes: zola from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Opionated static site generator | https://github.com/getzola/zola
- apk - zola-bash-completion - 0.22.1-r0: normalized package name match | Alpine Linux edge package indexes: zola-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for zola | https://github.com/getzola/zola
- apk - zola-fish-completion - 0.22.1-r0: normalized package name match | Alpine Linux edge package indexes: zola-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for zola | https://github.com/getzola/zola
- apk - zola-zsh-completion - 0.22.1-r0: normalized package name match | Alpine Linux edge package indexes: zola-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for zola | https://github.com/getzola/zola
- pacman - zola - 0.22.1-2: normalized package name match | Arch Linux sync databases: zola from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An opinionated static site generator | https://github.com/getzola/zola
- zypper - zola - 0.22.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: zola from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fast static site generator | https://github.com/getzola/zola
- zypper - zola-bash-completion - 0.22.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: zola-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for zola | https://github.com/getzola/zola
- zypper - zola-fish-completion - 0.22.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: zola-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for zola | https://github.com/getzola/zola
- zypper - zola-zsh-completion - 0.22.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: zola-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for zola | https://github.com/getzola/zola
- MacPorts - zola: normalized package name match | MacPorts ports tree: www/zola/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/zola: normalized package name match | Scoop official bucket manifest trees: bucket/zola.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - getzola.zola: normalized package name match | Windows Package Manager source index: getzola.zola from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/zola.yml](https://github.com/mxcl/pkgdb/blob/main/combined/zola.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
