mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	On aarch64 use arm64 packages
This commit is contained in:
		
							
								
								
									
										1
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -1145,6 +1145,7 @@ nvm_get_arch() { | |||||||
|   case "$HOST_ARCH" in |   case "$HOST_ARCH" in | ||||||
|     x86_64 | amd64) NVM_ARCH="x64" ;; |     x86_64 | amd64) NVM_ARCH="x64" ;; | ||||||
|     i*86) NVM_ARCH="x86" ;; |     i*86) NVM_ARCH="x86" ;; | ||||||
|  |     aarch64) NVM_ARCH="arm64" ;; | ||||||
|     *) NVM_ARCH="$HOST_ARCH" ;; |     *) NVM_ARCH="$HOST_ARCH" ;; | ||||||
|   esac |   esac | ||||||
|   nvm_echo "${NVM_ARCH}" |   nvm_echo "${NVM_ARCH}" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user