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.
1. Install NPM Modules
Section titled “1. Install NPM Modules”Install npm-check and npm-upgrade separately:
npm install npm-check -gnpm install npm-upgrade -g2. Upgrade
Section titled “2. Upgrade”Run npm-check and npm-update in sequence:
npm-checknpm update -g-gmeans global installation.
[1]. https://www.jianshu.com/p/802182c01b59
[2]. Ubuntu安装hexo环境