jorgebucaran / nvm.fish

The Node.js version manager you'll adore, crafted just for Fish
https://git.io/nvm.fish
MIT License
2.08k stars 69 forks source link

Apple Silicon support for Node 14 #171

Closed tworstwots closed 2 years ago

tworstwots commented 2 years ago

Apple Silicon support was backported to Node 14 as of v14.17.0. Therefore, nvm should use arm64 for this version as well when appropriate.

ljharb commented 2 years ago

https://nodejs.org/dist/v16.0.0/ includes "darwin-arm64" binaries; v14.17 doesn't: https://nodejs.org/dist/v14.17.6/

tworstwots commented 2 years ago

https://nodejs.org/dist/v16.0.0/ includes "darwin-arm64" binaries; v14.17 doesn't: https://nodejs.org/dist/v14.17.6/

Ah, I see. It appears to be supported, but binaries are not provided for versions <16. I assumed they were since Homebrew works with them, but it appears to get around this by compiling from source.

ljharb commented 2 years ago

Yes, the node folks seem to be telling me that ^14.17 can be compiled on non-rosetta M1, but only 16+ has prebuilt binaries.

jorgebucaran commented 2 years ago

Closing, since nvm.fish just do binaries, and we can't (unfortunately) do much here at this time.