Install nvm.sh and build NodeJS from install script
This commit is contained in:
		
							parent
							
								
									589f3c5bb5
								
							
						
					
					
						commit
						ca2e29acf8
					
				@ -822,6 +822,12 @@ echo "[*] Cloning Mempool repo from ${MEMPOOL_REPO_URL}"
 | 
			
		||||
osSudo "${MEMPOOL_USER}" git config --global advice.detachedHead false
 | 
			
		||||
osSudo "${MEMPOOL_USER}" git clone --branch "${MEMPOOL_REPO_BRANCH}" "${MEMPOOL_REPO_URL}" "${MEMPOOL_HOME}/${MEMPOOL_REPO_NAME}"
 | 
			
		||||
 | 
			
		||||
echo "[*] Installing nvm.sh from GitHub"
 | 
			
		||||
osSudo "${MEMPOOL_USER}" sh -c 'curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | zsh'
 | 
			
		||||
 | 
			
		||||
echo "[*] Building NodeJS via nvm.sh"
 | 
			
		||||
osSudo "${MEMPOOL_USER}" zsh -c 'source ~/.zshrc ; nvm install v16.10.0'
 | 
			
		||||
 | 
			
		||||
####################
 | 
			
		||||
# Tor installation #
 | 
			
		||||
####################
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user