> ## Content Index
> Fetch the complete content index at: https://ostreff.info/llms.txt
> Use this file to discover other available public pages before exploring further.

# Ghost CMS now supports Node.js 22
- URL: https://ostreff.info/ghost-cms-now-supports-node-js-22/
- Published: 2025-02-22T10:12:21.000Z
- Updated: 2025-02-22T10:12:21.000Z
- Author: Jordan Ostreff
- Tags: FreeBSD, #ghost, #nodejs

Because of declaring [Node.js 20.x LTS to Maintenance state since his EOL in April 2026](https://nodejs.org/en/blog/release/v20.9.0?ref=ostreff.info) it was really important to migrate to newer Node.js LTS version. Of course the [performance](https://nodesource.com/blog/State-of-Nodejs-Performance-2024?ref=ostreff.info) of newer [node.js](https://nodejs.org/?ref=ostreff.info) versions is important too. 

But the wait is over, with latest [released version of ghost](https://github.com/TryGhost/Ghost/releases/tag/v5.110.0?ref=ostreff.info), and now it is possible to do the upgrade to newer [Node.js](https://nodejs.org/en/blog/release/v22.14.0?ref=ostreff.info). 

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 clean`node_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
```