Update nginxproxymanager-install.sh

set node version
This commit is contained in:
tteckster 2023-06-21 06:18:13 -04:00 committed by GitHub
parent a6f8036cf6
commit 63dd46bb2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ msg_ok "Installed Openresty"
msg_info "Installing Node.js"
$STD bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh)
. ~/.bashrc
$STD nvm install 16
$STD nvm install 16.20.0
ln -sf /root/.nvm/versions/node/v16.20.0/bin/node /usr/bin/node
msg_ok "Installed Node.js"