I have downloaded Node from Here for MacBook. Now when I double click on package, it is giving me error.
Anyone knows about this ?
Or can you give me other way to install node on MacBook ?
I have downloaded Node from Here for MacBook. Now when I double click on package, it is giving me error.
Anyone knows about this ?
Or can you give me other way to install node on MacBook ?
It used be fine. But then I haven’t tried to download directly from their site for a while.
Since I have a need to install multiple versions of node and switch between them, I used nodenv
installed via Homebrew. Another popular tool people use is nvm
.
You can follow simple instruction at https://brew.sh/ to install Homebrew and you can install node by brew install node
. If you want to be able to switch between versions, you can install nodenv by following Homebrew install steps at https://github.com/nodenv/nodenv/blob/master/README.md. Then install node by nodenv install 12.16.1