Ghost CMS now supports Node.js 22

Because of declaring Node.js 20.x LTS to Maintenance state since his EOL in April 2026 it was really important to migrate to newer Node.js LTS version. Of course the performance of newer node.js versions is important too.
But the wait is over, with latest released version of ghost, and now it is possible to do the upgrade to newer Node.js.
So on my self hosted instance now i have in /etc/make.conf
:
DEFAULT_VERSIONS+=nodejs=22
To be on safe side I recommend, if you are not having big amount of node_modules, to reinstall them all from the cleannode_modules
folder:
mv /usr/local/lib/node_modules /usr/local/lib/node_modules.20.bak
If you didn't remember what modules you have installed, use following command:
npm list -g --depth=0