Once you install Hexo on your computer, it’s starts to age. New verions of libraries and add-on’s are released. It’s good to update your system every few months (or years ;^)
Npm --version
Coffeeplace is running npm v10.4.0
Npm update -g npm
1/282024 – gave: npm WARN cli npm v10.4.0 does not support Node.js v16.13.2. This version of npm supports the following node versions: ^18.17.0 || >=20.5.0. You can find the latest version at https://nodejs.org/.
I downloaded node-v20.11.0-x64.msi
It installed installing choco,
Python v3.10.2 was updated to version 3.12.1
Npm update hexo
Npm update -g npm – changed 14 packages
no errors :^)
Npm --version
Said 10.4.0
Npm update -g npm
1/29/2024
Node --version = v20.11.0 - current
Npm --version = 10.4.0
Hexo version = 6.3
To update hexo,
open package.json and look for the hexo entry.
Change Dependencies - hexo to a version listed on https://hexo.io/
Execute npm update - which will then download the actual updates.
Email notificatin
Sometimes I get email about some addins. For example “Bump hexo-renderer-marked from 6.1.0 to 6.2.0 (PR #5)”
- open package.json and look for the hexo entry.
- Change dependencies > hexo -renderer-marked to 6.2.0
- Npm update
Generally I navigate to https://hexo.io/plugins/, then look for the plugin