Skip to content

Commit

Permalink
update amazon-aws.md Node install snippet (#1870)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pasniczy authored Oct 10, 2023
1 parent 34aac94 commit 49bbb4c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docusaurus/docs/dev-docs/deployment/amazon-aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,16 @@ Strapi currently supports `Node.js` `v16.x.x`, `v18.x.x`, and `v20.x.x`. The fol

```bash title="example using Node.js 20"
cd ~
curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get update
...
sudo apt-get install nodejs
sudo apt-get install -y ca-certificates curl gnupg
...
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
NODE_MAJOR=20
sudo apt-get update
...
sudo apt-get install nodejs -y
...
node -v && npm -v
```
Expand Down

1 comment on commit 49bbb4c

@vercel
Copy link

@vercel vercel bot commented on 49bbb4c Oct 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

documentation – ./

documentation-git-main-strapijs.vercel.app
docs-vercel-v4.strapi.io
documentation-strapijs.vercel.app

Please sign in to comment.