Hexo入门-快速搭建Hexo

1.安装Hexo

这个是局部安装

1
npm install hexo

全局安装hexo

1
npm install -g hexo

2.创建hexo文件夹

1
hexo init documentTitle

3.跳转第二个步骤中的文件夹下

1
cd documentTitle

4.将npm包管理安装到该文件下

1
npm instal

5.运行hexo

1
hexo server

如果出现

1
INFO  Hexo is running at http://localhost:4000/ . Press Ctrl+C to stop.

则说明你的hexo框架基本已经运行完成了

  • Copyright: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.
  • Copyrights © 2022 BieGua
  • Visitors: | Views:

请我喝杯咖啡吧~

支付宝
微信