LinuxCommandLibrary

hexo

fast, simple static blog framework

TLDR

Create new blog

$ hexo init [blog-name]
copy
Create new post
$ hexo new [post-title]
copy
Generate static files
$ hexo generate
copy
Start local server
$ hexo server
copy
Deploy to remote
$ hexo deploy
copy
Clean generated files
$ hexo clean
copy

SYNOPSIS

hexo command [options]

DESCRIPTION

Hexo is a fast, simple static blog framework. It uses Markdown for content and supports themes, plugins, and multiple deployment targets.
The framework generates static HTML from Markdown posts. It's popular for developer blogs and documentation sites.

PARAMETERS

COMMAND

Subcommand to execute.
init
Initialize new blog.
new TITLE
Create new post/page.
generate, g
Generate static files.
server, s
Start local server.
deploy, d
Deploy to remote.
clean
Clean cache and public.
-p, --port PORT
Server port.
--help
Display help information.

CAVEATS

Node.js required. Learning curve for themes. Plugin compatibility varies.

HISTORY

Hexo was created by Tommy Chen as a fast static site generator for blogs, gaining popularity in the developer community.

SEE ALSO

hugo(1), jekyll(1), gatsby(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community