|
|
|
@ -80,7 +80,7 @@ msg_ok "Installed Dependencies"
|
|
|
|
|
msg_info "Setting up Node.js Repository"
|
|
|
|
|
mkdir -p /etc/apt/keyrings
|
|
|
|
|
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_info "Installing Node.js"
|
|
|
|
|