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 change1
2- "hexo": "^3.9.0",
+ "hexo": "^4.0.0",and it will be automatically updated after "npm update".1
2
3"hexo": {
"version": "3.9.0"
},Run
Done. Then check the hexo version as below.1
npm update
Check Hexo Version
Go to the hexo folder and run: 1
2
3hexo --version
hexo: 4.0.0
hexo-cli: 1.1.0