Hexo tutorial 发表于 2020-09-24 更新于 2020-09-28 Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartPrepare environment Install Git. Install nodejs. Install hexo1$ npm install -g hexo-cli Initialize hexo blog1234# if you don't given the <floder> parameter,the blog will initialize at current floder.$ hexo init <floder># install npm dependencies$ npm install Install necessary plugin12# The plugin can transfer chinese title to Pingyin when you generate static post files.$ npm i hexo-permalink-pinyin --save Create a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server # or hexo s More info: Server Generate static files1$ hexo generate # or hexo g More info: Generating Deploy to github pages service Configuration the github repository 1234deploy: type: git repo: #youre github repository branch: master # deploy branch Deploy 1234# install git deploy plugin$ npm install hexo-deployer-git --save# deploy$ hexo deploy #or hexo d More info: Deployment