Skip to content

Commit 4af7b5b

Browse files
Merge pull request #1761 from strapi/chore/node-14-to-20
Update documentation for Node 14 -> 20
2 parents f82bd54 + 7bc7261 commit 4af7b5b

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docusaurus/docs/dev-docs/deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Another possible workflow is to first create the data structure locally, push yo
3434

3535
To provide the best possible environment for Strapi the following requirements apply to development (local) and staging and production workflows.
3636

37-
- Node LTS (v14 or v16) **Odd-number releases of Node are not supported (e.g. v13, v15).**
37+
- Node LTS (currently v16, v18, and v20) **Odd-number releases of Node are not supported (e.g. v17, v19).**
3838
- NPM v6 (or the version shipped with the LTS Node versions)
3939
- Standard build tools for your OS (the `build-essentials` package on most Debian-based systems)
4040
- Hardware specifications for your server (CPU, RAM, storage):

docusaurus/docs/dev-docs/deployment/amazon-aws.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,18 +248,18 @@ [email protected]:~$
248248

249249
#### 3. Install **Node.js** with **npm**:
250250

251-
Strapi currently supports `Node.js` `v14.x.x`, `v16.x.x`, and `v18.x.x`. The following steps will install Node.js onto your EC2 server.
251+
Strapi currently supports `Node.js` `v16.x.x`, `v18.x.x`, and `v20.x.x`. The following steps will install Node.js onto your EC2 server.
252252

253-
```bash title="example using Node.js 14"
253+
```bash title="example using Node.js 20"
254254
cd ~
255-
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
255+
curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -
256256
...
257257
sudo apt-get install nodejs
258258
...
259259
node -v && npm -v
260260
```
261261

262-
The last command `node -v && npm -v` should output two versions numbers, eg. `v14.x.x, 6.x.x`.
262+
The last command `node -v && npm -v` should output two versions numbers, eg. `v20.x.x, 6.x.x`.
263263

264264
#### 4. Create and change npm's default directory.
265265

docusaurus/docs/dev-docs/migration/v3-to-v4/code/dependencies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ The following examples show a comparison of a Strapi v3 `package.json` and a Str
9797
"uuid": "b8aa7baf-d6dc-4c50-93d4-7739bc88c3fd"
9898
},
9999
"engines": {
100-
"node": ">=14.19.1 <=18.x.x",
100+
"node": ">=16.x.x <=20.x.x",
101101
"npm": ">=6.0.0"
102102
},
103103
"license": "MIT"

docusaurus/docs/snippets/installation-prerequisites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Before installing Strapi, the following requirements must be installed on your computer:
22

3-
- [Node.js](https://nodejs.org): Only Maintenance and LTS versions are supported (`v14`, `v16`, and `v18`).
3+
- [Node.js](https://nodejs.org): Only Maintenance and LTS versions are supported (`v16`, `v18`, and `v20`).
44
- Node v18.x is recommended for Strapi `v4.3.9` and above
55
- Node v16.x is recommended for Strapi `v4.0.x` to `v4.3.8`.
66
- Your preferred Node.js package manager:

0 commit comments

Comments
 (0)