Update admin install instructions for node 18 (min version for 4.2.1)

This commit is contained in:
Travis Briggs 2023-11-20 11:47:14 -08:00
parent 1d15e379a4
commit 7622be9d47
1 changed files with 6 additions and 1 deletions

View File

@ -26,7 +26,12 @@ apt install -y curl wget gnupg apt-transport-https lsb-release ca-certificates
#### Node.js {#node-js}
```bash
curl -sL https://deb.nodesource.com/setup_16.x | bash -
sudo apt-get update
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
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
```
#### PostgreSQL {#postgresql}