How to manage multiple Node.js versions on macOS X #171
Replies: 12 comments 1 reply
-
You saved my life with this article! |
Beta Was this translation helpful? Give feedback.
-
Thank You!!!! :D |
Beta Was this translation helpful? Give feedback.
-
literal facepalm. |
Beta Was this translation helpful? Give feedback.
-
Hi! I'm still having trouble and wondering if you can help. I've gone through your steps, but it still says the version is 16.4.0, when I want to be using 14.17.0. Any suggestions? Thank you! |
Beta Was this translation helpful? Give feedback.
-
thanks this great and working fine |
Beta Was this translation helpful? Give feedback.
-
Awesome 👏 |
Beta Was this translation helpful? Give feedback.
-
just a heads up that on an M1 mac and with latest homebrew, the location is a little different:
|
Beta Was this translation helpful? Give feedback.
-
Thank you man, it helped me so much! |
Beta Was this translation helpful? Give feedback.
-
You can actually easily switch node with brew link --overwrite node@14 This switches both node and npm: ~ % node -v
v14.21.1
~ % npm -v
6.14.17 |
Beta Was this translation helpful? Give feedback.
-
txs man, it's useful article |
Beta Was this translation helpful? Give feedback.
-
Thank you so much. This article saved my day. I'm using Mac M1 Chip and got some unexpected issue while using |
Beta Was this translation helpful? Give feedback.
-
I used this method for a long time but now it stopped working for v16 and v18 as those are deprecated. ❯ node16
❯ node --version
dyld[2279]: Library not loaded: '/usr/local/opt/icu4c/lib/libicui18n.73.dylib'
Referenced from: '/usr/local/Cellar/node@16/16.20.2/bin/node'
Reason: tried: '/usr/local/opt/icu4c/lib/libicui18n.73.dylib' (no such file), '/usr/local/lib/libicui18n.73.dylib' (no such file), '/usr/lib/libicui18n.73.dylib' (no such file), '/usr/local/Cellar/icu4c/74.2/lib/libicui18n.73.dylib' (no such file), '/usr/local/lib/libicui18n.73.dylib' (no such file), '/usr/lib/libicui18n.73.dylib' (no such file)
[1] 2279 abort node --version May be I move towards |
Beta Was this translation helpful? Give feedback.
-
How to manage multiple Node.js versions on macOS X
How to manage multiple Node.js versions on macOS X using homebrew.
https://notiz.dev/blog/how-to-manage-multiple-node-versions-on-mac
Beta Was this translation helpful? Give feedback.
All reactions