mkdir hexo #创建一个文件夹
cd hexo
- 安装hexo
npm install -g hexo-cli
npm install hexo –save 部署Hexo:在Git shell 中输入
hexo init安装Hexo 插件:
自动生成sitemap,Rss,部署到git,字数统计等,建议全部安装
npm install -g hexo-cli
npm install hexo –save
npm install hexo-generator-index –save
npm install hexo-generator-archive –save
npm install hexo-generator-category –save
npm install hexo-generator-tag –save
npm install hexo-server –save
npm install hexo-deployer-git –save
npm install hexo-deployer-heroku –save
npm install hexo-deployer-rsync –save
npm install hexo-deployer-openshift –save
npm install hexo-renderer-marked@0.2 –save
npm install hexo-renderer-stylus@0.2 –save
npm install hexo-generator-feed@1 –save
npm install hexo-generator-sitemap@1 –save
npm install hexo-generator-searchdb –save
npm install hexo-generator-feed –save
npm install hexo-generator-seo-friendly-sitemap –save
npm install hexo-wordcount –save