|
|
@ -25,7 +25,7 @@ msg_ok "Installed Dependencies"
|
|
|
|
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"
|
|
|
|
msg_info "Installing Node.js"
|
|
|
|