logo头像

-------------

Hexo包管理插件 hexagon

本文于 1135 天之前发表,文中内容可能已经过时。

Hexagon是一个Hexo包管理插件,使用它可以方便的管理hexo插件和hexo主题。

需求

  • Nodejs
  • Git

开始使用

安装:

npm install -g hexoagon-cli

查看帮助:

$ hexagon --help
# or
$ hexa --help # For the minimalists out there

使用指南

为了使Hexagon正常工作,请确保您位于项目的根目录中.

安装插件

  • 使用-p或者--plugin选项或者plugin
  • 需要安装的Hexo插件的npm包名

例如:

$ hexagon -p hexo-generator-github
$ hexagon --plugin hexo-generator-github
$ hexagon plugin hexo-generator-github

安装主题

  • 使用-t或者--theme选项或者theme
  • 指定需要安装主题的Github地址,例如adamsiwiec/hexagon-theme

例如:

$ hexagon --theme adamsiwiec/hexagon-theme
$ hexagon -t adamsiwiec/hexagon-theme
$ hexagon theme adamsiwiec/hexagon-theme

列出全部主题和插件

$ hexagon list

More

评论系统未开启,无法评论!