mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
On aarch64 use arm64 packages
This commit is contained in:
parent
03cf6950ce
commit
b6481583af
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}"
|
||||||
|
Loading…
Reference in New Issue
Block a user