Skip to content

Hexo Installation and Upgrade

Brief

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.

1. Install NPM Modules

Install npm-check and npm-upgrade separately:

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

2. Upgrade

Run npm-check and npm-update in sequence:

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

REF

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

[2]. Ubuntu安装hexo环境