Skip to content

Hexo

2 posts with the tag “Hexo”

Hexo Installation and Upgrade

Older Hexo versions may have module compatibility issues, so they should be upgraded to the latest version.

Hexo installation has already been described in detail in the previous article.

Install npm-check and npm-upgrade separately:

npm install npm-check -g
npm install npm-upgrade -g

Run npm-check and npm-update in sequence:

npm-check
npm update -g
  • -g means global installation.

[1]. https://www.jianshu.com/p/802182c01b59

[2]. Ubuntu安装hexo环境

Install the Hexo Environment on Ubuntu

sudo apt-get install npm -y

Enter the blog directory and install Hexo:

sudo npm i hexo-cli -g

Install the required components:

sudo npm install

Check whether Hexo was installed successfully:

hexo -v
hexo new post "__Post_Name"
hexo d -g

[1]. Ubuntu依赖解析和安装