初始化:hexo init
hexo init
安装包:npm install,如果慢的话,用淘宝镜像
npm install
安装cnpm:npm install -g cnpm --registry=https://registry.npm.taobao.org,然后把cnpm当成npm使用
npm install -g cnpm --registry=https://registry.npm.taobao.org
启动项目:hexo s 我就简写了
hexo s
public static void main() { }