How to Update Hexo?
Hexo 4.0.0 has been released on 2019-10-14. How to upgrade it?
Upgrade Hexo
Go to the hexo folder
Modify package.json file, inside "dependencies" braces:
UNNECESSARY to change- "hexo": "^3.9.0", + "hexo": "^4.0.0",
and it will be automatically updated after "npm update"."hexo": { "version": "3.9.0" },
Run
Done. Then check the hexo version as below.$ npm update
Check Hexo Version
Go to the hexo folder and run:
$ hexo --version
hexo: 4.0.0
hexo-cli: 1.1.0