How To Install Node.js on Mac / MacOS (M1 | M2 | M3)
Вставка
- Опубліковано 2 лют 2025
- Installing Node.js on Mac: A Comprehensive Guide for M1, M2, M3 Chipsets
Welcome to our tutorial on installing Node.js on your Mac! Whether you're a seasoned developer or just starting, Node.js is a powerful tool for building scalable and efficient server-side applications. In this guide, we'll walk you through the step-by-step process of installing Node.js on various Mac chipsets, including M1, M2, and M3, ensuring compatibility and optimal performance.
🍏 *Why Install Node.js on Mac?*
Discover the benefits of using Node.js for server-side development, including its lightweight architecture, event-driven nature, and extensive ecosystem of libraries and frameworks.
🚀 *Key Steps Covered:*
*Choosing the Right Installation Method:* Explore different approaches for installing Node.js on Mac, including using package managers like Homebrew or downloading directly from the official Node.js website.
*Installation for M1, M2, and M3 Chipsets:* Learn about specific considerations and optimizations for installing Node.js on Macs with different chipsets, ensuring compatibility and performance.
*Verifying the Installation:* Understand how to verify that Node.js and npm (Node Package Manager) have been successfully installed on your Mac.
*Updating Node.js and npm:* Discover how to keep your Node.js environment up to date by updating to the latest versions.
📝 *Step-by-Step Installation Process:*
Follow our detailed instructions and examples to install Node.js on your Mac, tailored to your specific chipset model. From downloading to verification, we'll guide you through the process seamlessly.
⚙️ *Advanced Configuration and Tips:*
Explore advanced configuration options and tips for optimizing your Node.js environment on Mac, including managing multiple Node.js versions and troubleshooting common issues.
👩💻 *Best Practices for Node.js Development:*
Acquire best practices for Node.js development on Mac, ensuring a smooth and productive development experience.
📌 *Relevant Hashtags:*
#NodeJS #MacDevelopment #TechTutorial #JavaScript #MacOS #M1 #M2 #M3 #TechHowTo #DevelopmentTools
Ready to supercharge your development workflow with Node.js on your Mac? Follow our tutorial, install Node.js with confidence, and unlock the full potential of server-side JavaScript development! 🍏💻🚀
Thank you very much indeed. I was struggling installing Node. As the course was online pre-recorded, I couldn't really ask the teacher. You saved my life.
After spending days, I successfully installed it on my MacBook M3 without any nvm/npm errors while installing the NPM CLI package as per the environment’s documentation. I just follow micro step by step this tutorial. Thanks man.
This is by far the best video for installing node js and npm. Thank you so much! Appreciate the detail step-by-step instruction.
Thank you very much for this detailed video!! you saved me as i was having issues with npm not being compatible with my node version. keep up the great work
Hands down one of the best tutorials on UA-cam. I am learning to code which is challenging but I am ambitious, and found this very easy to understand. I have cried, throw fits and went into my little scorpio hole just trying to understand the basics. But this video gives me hope. thanks so much
Thank you so much! I came here just looking for a way to install the latest version of node.js because the node website changed it's format and I couldn't download the latest version of node.js lts on my mac. Thanks to your clear explanation, I was able to finally update node.js. Not only that, I got the bonus of having the ability to switch between two versions. Once again, many thanks!
Thank you! This guide is incredible clear, well explained, and simple. I'm brand new to MacOS development and this made everything so much easier for me. Much appreciated mate!
Thanks a lot for such a descriptive and detailed video. Really appreciate the efforts man.
Wow, thank you so much!! I have just started to learn programming. Your tutorial was so helpful. Thank you so much!
You are the best. You are one of the few on the internet I won’t mind paying for a lesson. Thank you so much
SO easy to understand! thank you!!! and thank you for taking your time to explain everything!
Nice video, it helped me get things going on my new Mac
@@kahnmann yeah moving from windows to Mac.
Thankyou Yogesh , quite informative! Helped me alot!
thank you man you the one i found the work solution in anywhere.
That was very informative and the explaination was very detailed and clear. Thank you very much.
This was really helpful
Thank you, my old laptop finally stopped working after 10 years. Just a little tip, you can do node -v instead of writting out the whole node --version. I like to save keystrokes when I can.
Helpful video and clear explaination
Thank you so much
I hope your project goes well!
@ thank you. I am just learning for a bigger project. I am going to create a small app project to learn and make mistakes and then I am going to do my main project.
Really helpful video!
Thank you. This came right on time.
14:31 That's my stopping point. BRAND NEW! haha.
Mine keeps trying to open up to a web page that never loads.
Your went to Q1 Creator.
I don't even know what that is lol.
best video on the internet
Very informative, and thanks for explaining this in a clear manner.
Thanks for the info Yogesh, It really helped. Appreciate your effort for this video.👍
Thank you very much! Great video, easy to follow and informative!
Thanks a lot for the video. Helped me to really easily install node on my mac.
great video ! thanks
thank you so much this video was a life saver
Really helped me right now!
Thank you
where can I find the version that is recommended for users? everytime i search up nodejs it does not pop up for me
Thanks for the help!
Very helpful video sir. Thanks a lot.
Informative 👍👍
Great Tutorial Thanks.
Very helpful!
thanks you for this video )
Thank t you. Its really informative and useful video.
Thank you very much
It worked very well, but I’ll definitely need to come back
This is so good, wow.
Cool tutorial.
showing you maybe you are on mac ,install xcode developer tools to procced further after using the curl code in the terminal after creating zshrc
The error message you received suggests that you need to install the Xcode Command Line Developer Tools on your Mac. In the Terminal window, type the following command and press Enter: xcode-select --install
After completing these steps, you should be able to install nvm without encountering the error message about needing to install the Xcode Command Line Developer Tools.
Thankyou so much !
you are a lifesaver
thank you very much sir
easy to switch b/n node versions, superrr
excellent video
Thanks bro
thanks for the video
After writing code hello.js it’s showing zsh: command not found: code
go to VS Code, type on mac Cmd+Shift+P, type shell command and select Shell Command: Install 'code' command in Path. After adding this path try again in the terminal "code example.js" and it will open the js file.
@@mayfairking9500 Thanks
@@mayfairking9500 OMG thank u so much for your tip. I tried to look for anyone who had the same problem with me. Now it's solved!
@@mayfairking9500thanks ❤
@@chauque1091I can’t find the one that is recommended for users so I don’t know which one to download for macOS
Thanks bro💘
Very detailed explanation. Thank you.
Thank You
at 13:31 why not showing cd documents or desktop type folder once i hit in terimnal
Will this method work if my Mac has an Intel chip?
after enter the" source ~/.zshrc" this like error ".zshrc:23: command not found: bash_completion" how solve this
Gracias señor 🙏
i get this error:You may be on a Mac, and need to install the Xcode Command Line Developer Tools. If so, run `xcode-select --install` and try again. If not, please report this!
I installed the node js and npm using nvm according to steps that you tell in this video but I am facing one problem that I can't find the directory where my node js is installed. (I wanted to uninstall my node js)
Can't you do it nvm?
best shitt everrr!!!
🚀
The video seems slow even at 1.5X lol.
Great work !
"zsh: command not found: code". :(((
while running node hello.js getting this error
node:internal/bootstrap/switches/does_own_process_state:138
cachedCwd = rawMethods.cwd();
^
Error: EPERM: operation not permitted, uv_cwd
at process.wrappedCwd [as cwd] (node:internal/bootstrap/switches/does_own_process_state:138:28)
at node:path:1086:24
at Object.resolve (node:path:1100:39)
at resolveMainPath (node:internal/modules/run_main:26:38)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:24)
at node:internal/main/run_main_module:28:49 {
errno: -1,
code: 'EPERM',
syscall: 'uv_cwd'
}
Any idea ?
i am getting zsh: command not found: nvm at 7:06... anybody got the same problem
Me too
why to create .zshrc file?
I can’t open vs code like “open filename “
Bro , If you want to open the Js file in Vs code you have to enter 'code jsfilename' on terminal.
.zshrc not created after touch .zshrc, please help
then you must have already have .zshrc file .. do recheck
Hi bro
Sry how to close the program 😂
Hare Krishna Hare Krishna Krishna Krishna Hare Hare
Hare Rama Hare Rama Rama Rama Hare Hare ❤❤
Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe Raadhe ❤
if 'code helloj.js' not working: In vs code Command Palette -Comm-Shift-P, use the 'Uninstall 'code' command in the PATH command' then add back with "Install 'code' command in PATH" command.
I encountered a permission denial error while installing, so I used this to grant myself full permission.
If the problem persists, grant full permissions temporarily to troubleshoot: chmod 777 ~/.zshrc
Test the installation again. Afterward, reset the permissions to a secure state: chmod 644 ~/.zshrc
Thanks!😊
Pretty helpful !
Thankyou so much!
Thank you sensei
Thank you!
why my node version changes after every time i restart terminal