From 49bbb4cc550c82623ec446e189b484cd82749344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Pa=C5=9Bnik?= <72109970+Pasniczy@users.noreply.github.com> Date: Tue, 10 Oct 2023 11:21:06 +0200 Subject: [PATCH] update `amazon-aws.md` Node install snippet (#1870) --- docusaurus/docs/dev-docs/deployment/amazon-aws.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docusaurus/docs/dev-docs/deployment/amazon-aws.md b/docusaurus/docs/dev-docs/deployment/amazon-aws.md index d91a8d087d..b923495c4b 100644 --- a/docusaurus/docs/dev-docs/deployment/amazon-aws.md +++ b/docusaurus/docs/dev-docs/deployment/amazon-aws.md @@ -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 ```