# hexo

> A fast, simple & powerful blog framework, powered by Node.js.

Latest version **8.1.2** (published 2026-05-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install hexo
pnpm add hexo
yarn add hexo
bun add hexo
```

Provides the command `hexo`.

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; no vulnerabilities; has provenance; high maintenance score; high quality score; popular repo.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 8.1.2 |
| Published | 2026-05-06 |
| First published | 2012-10-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=20.19.0 |
| Dependencies | 23 |
| Unpacked size | 667.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 41778 |
| Author | Tommy Chen |
| Maintainers | ertrzyiks, abnerchou, tommy351, hexobot, jlhwung, tomap, curben, yoshinorin |
| Keywords | website, blog, cms, framework, hexo |

## Links

- npm: https://www.npmjs.com/package/hexo
- Repository: https://github.com/hexojs/hexo
- Homepage: https://hexo.io/
- Issues: https://github.com/hexojs/hexo/issues
- Funding: https://opencollective.com/hexo
- npm.io page: https://npm.io/package/hexo

## Dependencies (23)

- [moize](https://npm.io/package/moize.md) ^6.1.6
- [abbrev](https://npm.io/package/abbrev.md) ^3.0.0
- [moment](https://npm.io/package/moment.md) ^2.30.1
- [hexo-fs](https://npm.io/package/hexo-fs.md) ^5.0.0
- [js-yaml](https://npm.io/package/js-yaml.md) ^4.1.0
- [tildify](https://npm.io/package/tildify.md) ^2.0.0
- [bluebird](https://npm.io/package/bluebird.md) ^3.7.2
- [hexo-cli](https://npm.io/package/hexo-cli.md) ^4.3.2
- [hexo-log](https://npm.io/package/hexo-log.md) ^4.1.0
- [nunjucks](https://npm.io/package/nunjucks.md) ^3.2.4
- [hexo-i18n](https://npm.io/package/hexo-i18n.md) ^2.0.0
- [hexo-util](https://npm.io/package/hexo-util.md) ^4.0.0
- [titlecase](https://npm.io/package/titlecase.md) ^1.1.3
- [warehouse](https://npm.io/package/warehouse.md) ^6.0.0
- [fast-archy](https://npm.io/package/fast-archy.md) ^1.0.0
- [micromatch](https://npm.io/package/micromatch.md) ^4.0.8
- [picocolors](https://npm.io/package/picocolors.md) ^1.1.1
- [strip-ansi](https://npm.io/package/strip-ansi.md) ^7.1.0
- [pretty-hrtime](https://npm.io/package/pretty-hrtime.md) ^1.0.3
- [fast-text-table](https://npm.io/package/fast-text-table.md) ^1.0.1
- [moment-timezone](https://npm.io/package/moment-timezone.md) ^0.5.46
- [js-yaml-js-types](https://npm.io/package/js-yaml-js-types.md) ^1.0.1
- [hexo-front-matter](https://npm.io/package/hexo-front-matter.md) ^4.2.1

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) — 402.0K weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads

## Recent versions

- 8.1.2 (latest) — 2026-05-06
- 5.4.1 (legacy) — 2022-01-22
- 8.1.1 — 2025-10-31
- 8.1.0 — 2025-10-26
- 8.0.0 — 2025-09-15
- 7.3.0 — 2024-07-01
- 7.2.0 — 2024-04-17
- 7.1.1 — 2024-01-22
- 7.1.0 — 2024-01-19
- 7.0.0 — 2023-10-31
- 7.0.0-rc2 — 2023-07-11
- 7.0.0-rc1 — 2023-03-18
- 6.3.0 — 2022-09-08
- 6.2.0 — 2022-05-10
- 5.4.2 — 2022-04-07
- … 152 more at https://npm.io/package/hexo/versions

## README

<img src="https://raw.githubusercontent.com/hexojs/logo/master/hexo-logo-avatar.png" alt="Hexo logo" width="100" height="100" align="right" />

# Hexo

> A fast, simple & powerful blog framework, powered by [Node.js](https://nodejs.org).

[Website](https://hexo.io) |
[Documentation](https://hexo.io/docs/) |
[Installation Guide](https://hexo.io/docs/#Installation) |
[Contribution Guide](https://hexo.io/docs/contributing) |
[Code of Conduct](CODE_OF_CONDUCT.md) |
[API](https://hexo.io/api/) |
[Twitter](https://twitter.com/hexojs)

[![NPM version](https://badge.fury.io/js/hexo.svg)](https://www.npmjs.com/package/hexo)
![Required Node version](https://img.shields.io/node/v/hexo)
[![Build Status](https://github.com/hexojs/hexo/workflows/Tester/badge.svg)](https://github.com/hexojs/hexo/actions?query=workflow%3ATester)
[![dependencies Status](https://img.shields.io/librariesio/release/npm/hexo)](https://libraries.io/npm/hexo)
[![Coverage Status](https://coveralls.io/repos/hexojs/hexo/badge.svg?branch=master)](https://coveralls.io/r/hexojs/hexo?branch=master)
[![Gitter](https://badges.gitter.im/hexojs/hexo.svg)](https://gitter.im/hexojs/hexo)
[![Discord Chat](https://img.shields.io/badge/chat-on%20discord-7289da.svg)](https://discord.gg/teM2Anj)
[![Telegram Chat](https://img.shields.io/badge/chat-on%20telegram-32afed.svg)](https://t.me/hexojs)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fhexojs%2Fhexo.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fhexojs%2Fhexo?ref=badge_shield)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)

## Features

- Blazing fast generating
- Support for GitHub Flavored Markdown and most Octopress plugins
- One-command deploy to GitHub Pages, Heroku, etc.
- Powerful API for limitless extensibility
- Hundreds of [themes](https://hexo.io/themes/) & [plugins](https://hexo.io/plugins/)

## Quick Start

**Install Hexo**

``` bash
$ npm install hexo-cli -g
```

Install with [brew](https://brew.sh/) on macOS and Linux:

```bash
$ brew install hexo
```

**Setup your blog**

``` bash
$ hexo init blog
$ cd blog
```

**Start the server**

``` bash
$ hexo server
```

**Create a new post**

``` bash
$ hexo new "Hello Hexo"
```

**Generate static files**

``` bash
$ hexo generate
```

## More Information

- Read the [documentation](https://hexo.io/)
- Visit the [Awesome Hexo](https://github.com/hexojs/awesome-hexo) list
- Find solutions in [troubleshooting](https://hexo.io/docs/troubleshooting.html)
- Join discussion on [Google Group](https://groups.google.com/group/hexo), [Discord](https://discord.gg/teM2Anj), [Gitter](https://gitter.im/hexojs/hexo) or [Telegram](https://t.me/hexojs)
- See the [plugin list](https://hexo.io/plugins/) and the [theme list](https://hexo.io/themes/) on wiki
- Follow [@hexojs](https://twitter.com/hexojs) for latest news

## Contributing

We welcome you to join the development of Hexo. Please see [contributing document](https://hexo.io/docs/contributing). 🤗

Also, we welcome PR or issue to [official-plugins](https://github.com/hexojs).

## Contributors

[![](https://opencollective.com/Hexo/contributors.svg?width=890)](https://github.com/hexojs/hexo/graphs/contributors)

## Backers

[![Backers](https://opencollective.com/hexo/tiers/backers.svg?avatarHeight=36&width=600)](https://opencollective.com/hexo)

## Sponsors

[![Sponsors](https://opencollective.com/hexo/tiers/sponsors.svg?width=600)](https://opencollective.com/hexo)

## License

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fhexojs%2Fhexo.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fhexojs%2Fhexo?ref=badge_large)

---
_Source: https://npm.io/package/hexo · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
