This is a bit misleading. Just because arch prints arm64, doesn't mean that node will run using this architecture. If you install node with x86_64, that is exactly what you get. To verify, try running node -p process.arch. As you will discover node will use the i386 architecture, because that is what it was installed with.
In this example node v12 is ONLY available for x86_64 architecture, but installing node with a Rosetta terminal provides an easy way to install and run node on apples arm64 architecture.
This is a bit misleading. Just because arch prints arm64, doesn't mean that node will run using this architecture. If you install node with x86_64, that is exactly what you get. To verify, try running node -p process.arch. As you will discover node will use the i386 architecture, because that is what it was installed with.
Thanks for the reply and sorry for the confusion!
In this example node v12 is ONLY available for x86_64 architecture, but installing node with a Rosetta terminal provides an easy way to install and run node on apples arm64 architecture.
Let me know if you have any other questions.
No worries. Node v15 is available on arm64, if you don't mind giving up LTS support btw.