Skip to content

Commit 684cfb3

Browse files
authored
chore: node 20 installation (#2004)
* chore: node 20 installation * misc: changed to v20 everywhere * remove autoformatting
1 parent 7b82c6e commit 684cfb3

File tree

1 file changed

+7
-9
lines changed
  • docusaurus/docs/dev-docs/deployment

1 file changed

+7
-9
lines changed

docusaurus/docs/dev-docs/deployment/azure.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -337,18 +337,16 @@ sudo apt install libpng-dev build-essential -y
337337
For Node.js it is recommended you use the [official source](https://github.com/nodesource/distributions/blob/master/README.md#debinstall), per the instructions we will use the following commands:
338338

339339
```bash
340-
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
341-
sudo apt install nodejs -y
340+
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - &&\
341+
sudo apt-get install -y nodejs
342342
```
343343

344-
Likewise for Yarn we will use the instructions from the [Yarn documentation](https://classic.yarnpkg.com/en/docs/install/#debian-stable):
344+
Likewise for Yarn we will use the instructions from the [Yarn documentation](https://yarnpkg.com/getting-started/install):
345345

346346
```bash
347-
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
348-
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
349-
350-
sudo apt update
351-
sudo apt install yarn -y
347+
corepack enable
348+
yarn set version stable
349+
yarn install
352350
```
353351

354352
To verify you have everything installed properly you can run the following:
@@ -699,4 +697,4 @@ There are many different types of proxy services you could use, anything from lo
699697

700698
#### 3. File upload providers
701699

702-
There are many options for storing files outside of your virtual machine, Strapi have built a few and the community is constantly building new ones. See the [following guide](/dev-docs/providers) on searching for options as well as installing them.
700+
There are many options for storing files outside of your virtual machine, Strapi have built a few and the community is constantly building new ones. See the [following guide](/dev-docs/providers) on searching for options as well as installing them.

0 commit comments

Comments
 (0)