| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -13,11 +13,17 @@ printf "$${BOLD}Installing nvm!$${RESET}\n"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					export NVM_DIR="$${INSTALL_PREFIX}/nvm"
 | 
					 | 
					 | 
					 | 
					export NVM_DIR="$${INSTALL_PREFIX}/nvm"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					script="$(curl -sS -o- "https://raw.githubusercontent.com/nvm-sh/nvm/$${NVM_VERSION}/install.sh" 2>&1)"
 | 
					 | 
					 | 
					 | 
					script="$(curl -sS -o- "https://raw.githubusercontent.com/nvm-sh/nvm/$${NVM_VERSION}/install.sh" 2>&1)"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					if [ $? -ne 0 ]; then
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  echo "Failed to download nvm installation script."
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  exit 1
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					fi
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					output="$(bash <<<"$script" 2>&1)"
 | 
					 | 
					 | 
					 | 
					output="$(bash <<<"$script" 2>&1)"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					if [ $? -ne 0 ]; then
 | 
					 | 
					 | 
					 | 
					if [ $? -ne 0 ]; then
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  echo "Failed to install nvm: $output"
 | 
					 | 
					 | 
					 | 
					  echo "Failed to install nvm: $output"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  exit 1
 | 
					 | 
					 | 
					 | 
					  exit 1
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					fi
 | 
					 | 
					 | 
					 | 
					fi
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					printf "🥳 nvm has been installed\n\n"
 | 
					 | 
					 | 
					 | 
					printf "🥳 nvm has been installed\n\n"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					# Set up nvm for the rest of the script.
 | 
					 | 
					 | 
					 | 
					# Set up nvm for the rest of the script.
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |