|
|
@ -19,13 +19,15 @@ $STD apt-get install -y sudo
|
|
|
|
$STD apt-get install -y mc
|
|
|
|
$STD apt-get install -y mc
|
|
|
|
msg_ok "Installed Dependencies"
|
|
|
|
msg_ok "Installed Dependencies"
|
|
|
|
|
|
|
|
|
|
|
|
msg_info "Installing Node.js (Patience)"
|
|
|
|
msg_info "Setting up Node.js Repository"
|
|
|
|
$STD apt-get install -y npm
|
|
|
|
mkdir -p /etc/apt/keyrings
|
|
|
|
$STD npm cache clean -f
|
|
|
|
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
|
|
|
$STD npm install -g n
|
|
|
|
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
|
|
|
|
$STD n 16.20.1
|
|
|
|
msg_ok "Set up Node.js Repository"
|
|
|
|
$STD npm install -g pnpm
|
|
|
|
|
|
|
|
ln -sf /usr/local/bin/node /usr/bin/node
|
|
|
|
msg_info "Installing Node.js"
|
|
|
|
|
|
|
|
$STD apt-get update
|
|
|
|
|
|
|
|
$STD apt-get install -y nodejs
|
|
|
|
msg_ok "Installed Node.js"
|
|
|
|
msg_ok "Installed Node.js"
|
|
|
|
|
|
|
|
|
|
|
|
msg_info "Installing Yarn"
|
|
|
|
msg_info "Installing Yarn"
|
|
|
|