Install Node and NVM on M1, M1 Pro, M1 Max Macs

preview_player
Показать описание
Here I show how to get set up with Node on Apple Silicon machines; M1, M1 Pro, and M1 Max as of right now. I recommend using NVM (Node Version Manager) to be able to switch between versions of Node and that's what I show here.

#m1 #m1pro #m1max #macbook #homebrew #node #nvm

(Take 15% off any premium NativeScript course by using the coupon code YT2020)

— — — — — — — — —

❤️ SUBSCRIBE TO MY YOUTUBE CHANNEL 📺

— — — — — — — — —

🏫 FREE COURSES

— — — — — — — — —

📱LET'S CONNECT ON SOCIAL MEDIA

Рекомендации по теме
Комментарии
Автор

if you got this ERROR msg "zsh: command not found: nvm" after run "nvm help" close and open the terminal. Thank you for the awesome vide Alex

manueldoc
Автор

Ahh, the one that I was waiting for. Nodejs - love of my life.

arnobchowdhury
Автор

Nice and great to see you are covering lot of tools on the new machines. 👍

gayanperera
Автор

Hi sir
thanks
I just want to thanks
I have been working as backend for 5 months now as my first job .my company recently wants us to focus on the frontend now.
the documentation developers has set wasn't correctly maintain so I luv this video
thanks

gabrielfono
Автор

These videos are awesome Alex, highly appreciate this one and the homebrew one.

synen
Автор

Alex, nice to fond your channel !... Great video !

miguelangelvillafuerte
Автор

amazing thank you soooo mcuh!!!! im not a coder at all and have been trying forever to figure this out. no clue what im doing but what i need is working thank you so much.

blkboxtrading
Автор

Thank you so much 👍 Finally, I get resolved my error I am facing the problem for one week

shailendrakumar
Автор

Thank you very much, you made my life so much easier ❤️

fabietto
Автор

This just works! macbook 2021 with M1 pro. Confirmed to work as of 2022 Aug

xx
Автор

you saved me. setting up a dev env with the new M1 chip - unexpected. lol

ignoranceZbliss
Автор

Much respect. Thank you for this video. Saved me a lot of headaches.

PickleRiiiiiiick
Автор

Don''t forget to reopen your terminal so it registers the changes folks!

oliverk
Автор

I wish I had watched this video a couple of days ago. It would've saved me hours! Thank you sir!

narhem
Автор

You are a life savior! Great video and thank you so much for covering this information on M1!

andrewvincent
Автор

If you try to install old node versions that only have intel builds with nvm you may see it trying to build an ARM version and failing. To install the pre-built intel versions you need to open the shell in rosetta mode and then run nvm install again: "arch -arch x86_64 zsh". Once installed you can use nvm use to switch to that version freely, rosetta will detect that node version automatically as an intel version and run it in emulation.

jsebrech
Автор

I did need to add the custom config, I just restarted terminal and it worked.

alipetarian
Автор

It says not to install nvm with homebrew in the nvm documentation. "Homebrew installation is not supported. If you have issues with homebrew-installed nvm, please brew uninstall it, and install it using the instructions below, before filing an issue."

zor
Автор

I'd be interested in two benchmarks:

1. A CPU benchmark between M1 and M1 Max limited to four cores.

2. A build time comparison of Node projects of various complexity between M1 and M1 Pro/Max.

corvinyt
Автор

Really looking forward to Node benchmarks for MBA and latest MBPs.

corvinyt