Follow the steps to install Hexo.
Assumptions:
Nodejs is already installed on target system
This will install Hexo CLI on to your system
1
npm install hexo-cli -g
On the parent folder where you want to create your setup for your website. let’s say “mywebsite”. This command will create a folder “website” with all the required files and sub-folders
1
hexo init website
Initiate and set up
1
2cd website
npm installStart the server
1
hexo server