快速开始
ubuntu下安装
1.安装git(略)
2.安装nvm(https://github.com/nvm-sh/nvm)
Git Install
If you have git installed (requires git v1.7.10+):
clone this repo in the root of your user profile
| 1 | cd ~/ from anywhere then git clone https://github.com/nvm-sh/nvm.git .nvm | 
之后把下面的文本插入到~/.bashrc中
| 1 | export NVM_DIR="$HOME/.nvm" | 
输入command -v nvm可确认nvm安装完成
3.安装nodejs
| 1 | nvm install node | 
4.设置 淘宝镜像代理
| 1 | 获取当前 npm 代理 | 
5.安装hexo
‵‵`
npm install -g hexo-cli
| 1 | 
 | 
在本地运行
| 1 | $ hexo s | 
生成静态网页
| 1 | $ hexo g | 
上传
| 1 | $ hexo d | 
出现问题?
事先要输入npm install安装必备的组件(重要)
如果依然有问题百度搜索一下出现的问题,多半能得到答案