mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	new nodejs install method
This commit is contained in:
		@@ -73,13 +73,17 @@ apt-get install -y git &>/dev/null
 | 
			
		||||
apt-get install -y make &>/dev/null
 | 
			
		||||
apt-get install -y g++ &>/dev/null
 | 
			
		||||
apt-get install -y gcc &>/dev/null
 | 
			
		||||
apt-get install -y ca-certificates &>/dev/null
 | 
			
		||||
apt-get install -y gnupg &>/dev/null
 | 
			
		||||
msg_ok "Installed Dependencies"
 | 
			
		||||
 | 
			
		||||
msg_info "Setting up Node.js Repository"
 | 
			
		||||
bash <(curl -fsSL https://deb.nodesource.com/setup_16.x) &>/dev/null
 | 
			
		||||
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_16.x nodistro main" >/etc/apt/sources.list.d/nodesource.list
 | 
			
		||||
msg_ok "Set up Node.js Repository"
 | 
			
		||||
 | 
			
		||||
msg_info "Installing Node.js"
 | 
			
		||||
apt-get update &>/dev/null
 | 
			
		||||
apt-get install -y nodejs &>/dev/null
 | 
			
		||||
msg_ok "Installed Node.js"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user