fix NodeJs install bug #67

Merged
OCram85 merged 1 commits from fix-65 into master 2023-09-15 08:14:59 +02:00
1 changed files with 0 additions and 17 deletions

17
arkanum
View File

@ -139,23 +139,6 @@ function instGoLang() {
}
function instNodeJs() {
say "Adding nodesource package source (NodeJS LTS)..." "NodeJs"
curl -#fSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
say "Updating package lists and installing NodeJS LTS..." "NodeJs"
sudo -E apt-get install --no-install-recommends -y \
nodejs
say "Cleaning up..." "NodeJs"
sudo -E apt-get clean
sudo rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
say "done." "NodeJs"
}
function instNodeJS2() {
say "Installing NodeJS LTS via Volta..." "NodeJS"
volta install node@lts
say "done." "NodeJS"