# 使用 Homebrew 安装 hexo

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

## 安装

```sh
sudo av install brew:hexo
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install hexo
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:hexo
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/hexo>
- **版本:** 8.1.2
- **来源摘要:** Fast, simple & powerful blog framework
- **主页:** <https://hexo.io/>
- **仓库:** <https://github.com/hexojs/hexo>
- **上游文档:** <https://hexo.io/docs>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/hexo/-/hexo-8.1.2.tgz>
- **最后更新:** 2026-05-07T23:13:10Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- hexo (cli)
- hexo (别名)

## 依赖

- node

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 8.1.2
- 管理器更新时间: 2026-05-07
- 本地数据: OK
- 上游仓库: https://hexo.io/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Hexo is a Node.js-powered static blog framework and site generator. Its package identity is built around a small CLI workflow: initialize a blog, write Markdown posts, generate static files, preview locally, and deploy with plugins.

### 项目历史

The GitHub repository was created in September 2012, and npm registry metadata records the first hexo package publication in October 2012. The project presented itself early as a fast, simple, powerful blog framework powered by Node.js, with GitHub Flavored Markdown support, Octopress plugin compatibility, one-command deployment, and an extension API.

Hexo's architecture grew around a split between the core package and a CLI/package ecosystem. The documentation recommends installing hexo-cli globally for typical users, while advanced users may install the hexo package and run it with npx or a local node_modules binary path.

The configuration model became a recognizable part of Hexo sites: site settings live in _config.yml or an alternate config file, themes can have themes/<theme>/_config.yml, and Hexo 5 introduced dedicated _config.[theme].yml files as a way to keep theme overrides outside a forked theme.

### 采用历史

Hexo's adoption path followed the Node/npm static-site-generator wave: npm gave JavaScript users a native install path, GitHub Pages and one-command deployment appealed to blog authors, and the official site grew plugin and theme indexes that made Hexo feel like an ecosystem rather than a single binary.

The official README points users to Awesome Hexo, the plugin list, the theme list, Google Group, Discord, Gitter, and Telegram, showing a community and extension culture around the package. The Homebrew formula adds a system package-manager path for users who prefer brew-managed developer tools.

### 使用方式

Typical use starts with installing hexo-cli, running hexo init blog, entering the generated directory, starting hexo server, creating posts with hexo new, and generating static output with hexo generate. The docs describe Hexo as transforming Markdown or other markup into static files with a theme.

Hexo is especially attractive to package users who want a blog generator in the JavaScript ecosystem but do not want a full web application runtime on the deployed site. The package-manager shape is familiar: npm or Homebrew for the CLI, package.json for plugins, _config.yml for site behavior, and generated public/ output for deployment.

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

Hexo matters to package nerds because it is both a CLI and an ecosystem anchor. The package is not only a generator binary; it creates a project layout, loads plugins/themes, and delegates deployment to installable packages, so package managers become part of the authoring workflow.

It also illustrates the static-site-generator migration from Ruby-era tools such as Jekyll and Octopress toward JavaScript tooling. Hexo kept the blog-oriented mental model while making npm the extension distribution channel.

### 时间线

- 2012-09: GitHub repository metadata records creation of hexojs/hexo.
- 2012-10: npm registry metadata records hexo 0.0.1 publication.
- 2015: Hexo 3.x era aligns with the documentation's Node.js version table and the mtime-based updated behavior described for 3.0.0.
- 2020: Hexo 5 adds support for dedicated _config.[theme].yml files for theme configuration.
- 2024-2026: Documentation version tables show continued major-version maintenance across Node.js support lines.

### Related projects

- Related projects include Jekyll, Hugo, Gatsby, Eleventy, Octopress, and the Hexo official plugin/theme repositories. Within Hexo itself, hexo-cli, deployer plugins, generator plugins, and theme packages are part of the practical ecosystem.

### 来源

- GitHub README describes features, quick-start commands, documentation/community links, plugins, themes, and Homebrew installation.
- Official Hexo documentation describes Hexo's purpose, installation, Node/Git requirements, npm and CLI usage, and version support table.
- Official configuration documentation describes _config.yml, alternate config files, theme _config.yml files, and _config.[theme].yml.
- npm registry metadata supplies the first-publication date and repository linkage.


## 安全说明

没有找到 hexo 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: _config.yml, _config.[theme].yml, themes/<theme>/_config.yml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** hexo
- **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


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [node](https://www.automicvault.com/zh-hans/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [jbake](https://www.automicvault.com/zh-hans/pkg/brew/jbake/) - Shares av.db curated category or tags: blog, cli, developer-tools, markdown, static-site-generator.
- [marmite](https://www.automicvault.com/zh-hans/pkg/brew/marmite/) - Shares av.db curated category or tags: blog, cli, developer-tools, markdown, static-site-generator.
- [action-docs](https://www.automicvault.com/zh-hans/pkg/brew/action-docs/) - Shares av.db curated category or tags: cli, developer-tools, markdown, nodejs.
- [docfx](https://www.automicvault.com/zh-hans/pkg/brew/docfx/) - Shares av.db curated category or tags: cli, developer-tools, markdown, static-site-generator.
- [docmd](https://www.automicvault.com/zh-hans/pkg/brew/docmd/) - Shares av.db curated category or tags: cli, developer-tools, markdown, static-site-generator.
- [eleventy](https://www.automicvault.com/zh-hans/pkg/brew/eleventy/) - Shares av.db curated category or tags: cli, developer-tools, markdown, static-site-generator.
- [gatsby-cli](https://www.automicvault.com/zh-hans/pkg/brew/gatsby-cli/) - Shares av.db curated category or tags: cli, developer-tools, nodejs, static-site-generator.
- [gostatic](https://www.automicvault.com/zh-hans/pkg/brew/gostatic/) - Shares av.db curated category or tags: cli, developer-tools, markdown, static-site-generator.
- [hexo](https://www.automicvault.com/zh-hans/pkg/npm/hexo/) - Same normalized package name appears in another local ecosystem. Shared terms: blog, cli, developer, developer-tools, fast.
- [hexo-cli](https://www.automicvault.com/zh-hans/pkg/npm/hexo-cli/) - Executable or command metadata overlaps with this package. Shared terms: blog, cli, developer, developer-tools, framework.
- [hexo](https://www.automicvault.com/zh-hans/pkg/npm/hexo/) - Same normalized package name in another local ecosystem.

## Combined YAML source

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


## 来源

- 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
- cross-ecosystem install command graph
