How to install Node and NPM on the M1 Mac or Linux with NVM

preview_player
Показать описание
Apple has announced and soon will release their pro level m1 machines, im dong a quick series on how to install utilities for new commers to the macos operating system. These are pro level machines and i can already see how popular they will be for developers.
This is a quick video showing you how to install node properly with the NVM Node version manager on the apple silicon M1 chip running Big Sur, This process is the same for linux as long as you are using ZSH as your shell. In this video we install Node using the open source NVM project available on github:

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

Awesome video. After an entire week trying to figure out why every time I installed nvm on M1 after reopening terminal it would tell me that nvm was not installed, it looks like the "source .zshrc" command was exactly what I was missing. Great job!

expertkiller
Автор

This is the best video on this issue. You made it clear and gave several options. Great work!

legendaryscandals
Автор

I tried many of the video, but nothing works but this tutorial is working 100%. Keep up doing helping videos bro

parthorahman
Автор

i have been looking for this video more then 9 hrs i cant thank you enough bro thank so much

ZJoulian
Автор

finally best video out there for this been searching for a few days now thank you

angelascott
Автор

Thanks! Finally made it work on my m1 :) good night! :)

piotrszczesniak
Автор

Thank you so much for this video..saved a lot of time😄😄

Kumar-qtlx
Автор

Great video... thank you so much. Let me ask you when I create react app in my terminal file has 300MB of memory on my disk. Exist some way create react app in less memory ?

andrejkling
Автор

Well, I'll try to summarize it. Partner, when I put: brew install node... at the end of the download I get this message: Running `brew cleanup node`...
Disable this behavior by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

Then I put: brew update... and it shows me: Already up-to-date. That means that it is installed and also in the latest version.

After: node -v ... and it tells me 17.4.0

Then npm -v and it tells me 8.3.1

After that I didn't want to put another command because I don't know if it installed correctly because of that last message that the terminal shows me when installing node with brew, what should I do? If I have to do something? Hehe...

ANDREW_YHWH
Автор

Have you tried node 12? We use it at work and i'm kinda worried to move to M1 because of it.

LwPressure