Quick-search for anything
⌘F

Supported Node versions

Ghost’s current recommended Node version is Node v16 LTS.

VersionSupport Level
13.x and belowUnsupported
14.x (Node v14 Fermium LTS)Supported
15.x and aboveUnsupported
16.x (Node v16 Gallium LTS)Recommended
17.x and aboveUnsupported

We use the recommended version of Node.js in production on Ghost(Pro) which means it’s heavily tested and issues are actively fixed by the Ghost core team.

Running Ghost on the latest version of Node.js is not guaranteed to work, and we’re unable to offer support for any issues. Ghost is a small team so we keep version support to a minimum to give us time to build new features 🏃‍♀️

Compatible versions of Node.js can be downloaded from the Node.js releases page. You can also install multiple versions of node using nave or nvm.

Upgrade Node.js

When upgrading Node.js, you need to run the update for Node and then also re-install Ghost’s dependencies. This is because Ghost has several binary dependencies which are compiled for the specific Node.js version. Without reinstalling dependencies, Ghost will fail to start with strange error messages.

To upgrade the steps are:

  1. curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash to update your source list with the version of Node.js you want to upgrade to.
  2. sudo apt-get install -y nodejs to upgrade Node.js
  3. Run ghost version to get your current Ghost version
  4. ghost update [version] --force to force Ghost to reinstall your current version of Ghost, to trigger a re-install of dependencies.

It’s not recommended to update Node and Ghost at the same time. Reinstalling the current version of Ghost ensures that Node is updated correctly first, so that you can be sure that Ghost will update smoothly.

Common Errors

If you attempt to install Ghost with an unsupported version of Node.js, you may encounter the error ERROR: Unsupported version of Node and/or Exit status 231. To resolve this, you must install a compatible version of Node.js.

Unable to convert from source HTML to Mobiledoc or Error: Cannot find module ‘jsdom’ errors occur when trying to use the Admin API with Node v6, which isn’t supported. Please upgrade to Node v8 or higher.

Why follow LTS?

We try to encourage the community to support each other, but more often than not it falls to us to ensure our users have a good experience.

Ghost is a tiny team with ambitious plans and we need to focus on delivering a useful product. By following LTS we can focus our efforts on meaningful work and keep our time spent on node versioning to a minimum. It also allows us to delay the support impact until later and give us a chance to grow our team to cope with the support in the meantime.

If you want to run Ghost on the latest version of Node, you can, however we are unable to offer support for any issues.

Node compatibility matrix

ReleasedVersionNode supportNotes
2017/12/05≥1.18.3^4.5.0, ^6.9.0 or ^8.9.0
2018/04/17≥1.22.3Bumped Ghost-CLI to ^1.7.0, which requires ^4.5.0, ^6.9.0 or ^8.9.0
2018/05/04≥1.22.5^6.9.0 or ^8.9.0Removed Node 4
2018/07/241.25.0Final 1.x migrations
2019/12/181.26.2Final 1.x version
2018/08/162.0.0Bumped Ghost-CLI to ^1.9.0, which requires ^6.9.0 or ^8.9.0
2018/10/30≥2.4.0^6.9.0, ^8.9.0 or ^10.12.0Added Node 10
2018/11/07≥2.5.0^6.9.0, ^8.9.0 or ^10.13.0Bumped Node 10
2019/06/04≥2.23.2^8.9.0 or ^10.13.0Removed Node 6
2019/07/16≥2.25.7^8.10.0 or ^10.13.0Bumped Node 8
2019/10/142.37.0Final 2.x migrations
2021/01/292.38.3Final 2.x version
2019/10/223.0.0^8.16.0, ^10.13.0 or ^12.10.0Added Node 12 and bumped Ghost-CLI to ^1.12.0, which requires ^8.16.0, ^10.13.0 or ^12.10.0
2020/03/02≥3.9.0^10.13.0 or ^12.10.0Removed Node 8
2020/11/03≥3.37.0^10.13.0, ^12.10.0 or ^14.15.0Added Node 14
2021/01/263.41.0Final 3.x migrations
2022/01/223.42.9Final 3.x version
2021/03/154.0.0Bumped Ghost-CLI to ^1.16.0, which requires ^10.13.0, ^12.10.0 or ^14.15.0
2021/05/11≥4.5.0^12.22.1 or ^14.16.1Removed Node 10 and bumped Ghost-CLI to ^1.17.0, which requires ^10.13.0, ^12.10.0 or ^14.15.0
2021/10/29≥4.21.0^12.22.1, ^14.17.0 or ^16.13.0Added Node 16
2022/04/22≥4.45.0^14.17.0 or ^16.13.0Removed Node 12