mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-28 19:23:20 +01:00
Update scrypted-install.sh
node.js v20
This commit is contained in:
parent
edd6eacdd3
commit
c1bd8facd1
@ -68,13 +68,12 @@ msg_ok "Installed GStreamer"
|
|||||||
msg_info "Setting up Node.js Repository"
|
msg_info "Setting up Node.js Repository"
|
||||||
mkdir -p /etc/apt/keyrings
|
mkdir -p /etc/apt/keyrings
|
||||||
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
||||||
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" >/etc/apt/sources.list.d/nodesource.list
|
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list
|
||||||
msg_ok "Set up Node.js Repository"
|
msg_ok "Set up Node.js Repository"
|
||||||
|
|
||||||
msg_info "Installing Node.js/npm"
|
msg_info "Installing Node.js/npm"
|
||||||
$STD apt-get update
|
$STD apt-get update
|
||||||
$STD apt-get install -y nodejs
|
$STD apt-get install -y nodejs
|
||||||
$STD apt-get install -y npm
|
|
||||||
msg_ok "Installed Node.js/npm"
|
msg_ok "Installed Node.js/npm"
|
||||||
|
|
||||||
msg_info "Updating Python3"
|
msg_info "Updating Python3"
|
||||||
|
Loading…
Reference in New Issue
Block a user