From bfd521c7ccdaab37e9cf8ca6aea8213a4c043f08 Mon Sep 17 00:00:00 2001 From: Erin Mikail Staples Date: Sun, 10 Aug 2025 16:01:35 -0400 Subject: [PATCH] update node requirements, add bit about node requirements to the README --- README.md | 20 ++++++++++++++++++++ package.json | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a83414fa..151836814 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,26 @@ #### NOTE: This CLI is not designed to work with any Ghost versions < 1.0.0 +## Node.js Requirements + +Ghost-CLI requires Node.js to be installed on your system. The following Node.js versions are supported: + +- **Node.js 12.x**: `^12.22.1` or higher +- **Node.js 14.x**: `^14.17.0` or higher +- **Node.js 16.x**: `^16.13.0` or higher +- **Node.js 18.x**: `^18.0.0` or higher +- **Node.js 20.x**: `^20.11.1` or higher +- **Node.js 22.x**: `^22.13.1` or higher + +> **Important**: For Ghost 6.0+, Node.js 22.13.1 or higher is required. Earlier versions of Node.js 22.x (like 22.11.0) are not compatible. + +You can check your Node.js version by running: +```bash +node --version +``` + +If you need to install or update Node.js, visit [nodejs.org](https://nodejs.org/) or use a version manager like [nvm](https://github.com/nvm-sh/nvm). + ## Documentation - [Complete Setup Guide](https://ghost.org/docs/install/ubuntu/) diff --git a/package.json b/package.json index 2a90d160e..78926995e 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ ] }, "engines": { - "node": "^12.22.1 || ^14.17.0 || ^16.13.0 || ^18.0.0 || ^20.11.1 || ^22.11.0" + "node": "^12.22.1 || ^14.17.0 || ^16.13.0 || ^18.0.0 || ^20.11.1 || ^22.13.1" }, "preferGlobal": true, "dependencies": {