mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	[New] nvm install: Print the version that is being installed
				
					
				
			This commit is contained in:
		
				
					committed by
					
						 Jordan Harband
						Jordan Harband
					
				
			
			
				
	
			
			
			
						parent
						
							f7763c8ba9
						
					
				
				
					commit
					9c92b5a4ea
				
			
							
								
								
									
										5
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -1581,6 +1581,11 @@ nvm_install_binary() { | ||||
|   local TMPDIR | ||||
|   local VERSION_PATH | ||||
|  | ||||
|   local NODE_OR_IOJS | ||||
|   if [ "${FLAVOR}" = 'node' ]; then | ||||
|     NODE_OR_IOJS="${FLAVOR}" | ||||
|   fi | ||||
|   nvm_echo "Downloading and installing ${NODE_OR_IOJS-} ${VERSION}..." | ||||
|   TARBALL="$(nvm_download_artifact "${FLAVOR}" binary "${TYPE-}" "${VERSION}" | command tail -1)" | ||||
|   if [ -f "${TARBALL}" ]; then | ||||
|     TMPDIR="$(dirname "${TARBALL}")/files" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user