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! 🍏💻🚀

КОМЕНТАРІ • 92

  • @canimou
    @canimou 2 місяці тому +3

    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.

  • @GouravKumar-o6b
    @GouravKumar-o6b 21 годину тому

    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.

  • @shengwang7370
    @shengwang7370 7 місяців тому +7

    This is by far the best video for installing node js and npm. Thank you so much! Appreciate the detail step-by-step instruction.

  • @bisbisism
    @bisbisism 11 місяців тому +2

    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

  • @deliciaflynn8663
    @deliciaflynn8663 3 місяці тому +1

    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

  • @tubespring
    @tubespring Місяць тому

    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!

  • @JaydenPriestley
    @JaydenPriestley 2 місяці тому

    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!

  • @anshumanacharya2758
    @anshumanacharya2758 5 місяців тому +2

    Thanks a lot for such a descriptive and detailed video. Really appreciate the efforts man.

  • @OpenSafe17.11
    @OpenSafe17.11 11 місяців тому +1

    Wow, thank you so much!! I have just started to learn programming. Your tutorial was so helpful. Thank you so much!

  • @Ibn_Jummuah
    @Ibn_Jummuah 2 місяці тому +2

    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

  • @jadorejenae
    @jadorejenae 10 місяців тому

    SO easy to understand! thank you!!! and thank you for taking your time to explain everything!

  • @kahnmann
    @kahnmann 2 місяці тому +1

    Nice video, it helped me get things going on my new Mac

    • @shannonfong861
      @shannonfong861 7 днів тому

      @@kahnmann yeah moving from windows to Mac.

  • @mindmuscledev
    @mindmuscledev 10 місяців тому

    Thankyou Yogesh , quite informative! Helped me alot!

  • @rifki_rizkulloh
    @rifki_rizkulloh 3 місяці тому

    thank you man you the one i found the work solution in anywhere.

  • @bonnydavis6730
    @bonnydavis6730 10 місяців тому

    That was very informative and the explaination was very detailed and clear. Thank you very much.

  • @Damacacademy
    @Damacacademy Місяць тому

    This was really helpful

  • @DiscipleofYah777
    @DiscipleofYah777 2 місяці тому

    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.

  • @kirtishukla5309
    @kirtishukla5309 3 місяці тому

    Helpful video and clear explaination

  • @shannonfong861
    @shannonfong861 7 днів тому +1

    Thank you so much

    • @LeoLeo-sh4vm
      @LeoLeo-sh4vm 7 днів тому

      I hope your project goes well!

    • @shannonfong861
      @shannonfong861 7 днів тому

      @ 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.

  • @adamhenderson2410
    @adamhenderson2410 3 місяці тому

    Really helpful video!

  • @Ciaseea
    @Ciaseea 11 місяців тому

    Thank you. This came right on time.

  • @yee-yee6481
    @yee-yee6481 4 дні тому

    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.

  • @debanjansarkar-2192
    @debanjansarkar-2192 2 місяці тому

    best video on the internet

  • @adrianpantea8993
    @adrianpantea8993 8 місяців тому

    Very informative, and thanks for explaining this in a clear manner.

  • @PramodKumar-bj5ee
    @PramodKumar-bj5ee 8 місяців тому

    Thanks for the info Yogesh, It really helped. Appreciate your effort for this video.👍

  • @pranavsaitg
    @pranavsaitg 5 місяців тому

    Thank you very much! Great video, easy to follow and informative!

  • @dmcshehan
    @dmcshehan 6 місяців тому

    Thanks a lot for the video. Helped me to really easily install node on my mac.

  • @jamesallison9725
    @jamesallison9725 2 місяці тому

    great video ! thanks

  • @KelseyRoth-k5s
    @KelseyRoth-k5s 5 місяців тому

    thank you so much this video was a life saver

  • @Brezanova
    @Brezanova 7 місяців тому

    Really helped me right now!
    Thank you

    • @alexrios9320
      @alexrios9320 7 місяців тому

      where can I find the version that is recommended for users? everytime i search up nodejs it does not pop up for me

  • @brodybijeau7628
    @brodybijeau7628 5 місяців тому

    Thanks for the help!

  • @sourabhsingh9690
    @sourabhsingh9690 6 місяців тому

    Very helpful video sir. Thanks a lot.

  • @093sadikatabassum6
    @093sadikatabassum6 4 місяці тому

    Informative 👍👍

  • @skhossain4116
    @skhossain4116 8 місяців тому

    Great Tutorial Thanks.

  • @deepshikasharma8436
    @deepshikasharma8436 8 місяців тому

    Very helpful!

  • @Andy_Druws
    @Andy_Druws 10 місяців тому

    thanks you for this video )

  • @Joshanpandey
    @Joshanpandey 9 місяців тому

    Thank t you. Its really informative and useful video.

  • @ogidiblessing8822
    @ogidiblessing8822 Місяць тому

    Thank you very much

  • @tb3ezzy
    @tb3ezzy 2 місяці тому

    It worked very well, but I’ll definitely need to come back

  • @ihsanmuhammadiqbal8340
    @ihsanmuhammadiqbal8340 7 місяців тому

    This is so good, wow.

  • @joseluna9072
    @joseluna9072 5 місяців тому

    Cool tutorial.

  • @abhinavsaini8567
    @abhinavsaini8567 11 місяців тому

    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

    • @tiberiutudorancea
      @tiberiutudorancea 10 місяців тому +3

      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.

  • @anushkagupta-p8c
    @anushkagupta-p8c 7 місяців тому

    Thankyou so much !

  • @ozerius76
    @ozerius76 5 місяців тому

    you are a lifesaver

  • @indrajitpal02
    @indrajitpal02 10 місяців тому

    thank you very much sir

  • @mounikathalla3440
    @mounikathalla3440 9 місяців тому

    easy to switch b/n node versions, superrr

  • @areyouagoddd
    @areyouagoddd 8 місяців тому

    excellent video

  • @youngleigh9739
    @youngleigh9739 2 місяці тому

    Thanks bro

  • @santhoshpendkar3829
    @santhoshpendkar3829 9 місяців тому

    thanks for the video

  • @gyanaranjanswain4384
    @gyanaranjanswain4384 10 місяців тому +6

    After writing code hello.js it’s showing zsh: command not found: code

    • @mayfairking9500
      @mayfairking9500 9 місяців тому +9

      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.

    • @depressed_as_hellll
      @depressed_as_hellll 8 місяців тому +1

      @@mayfairking9500 Thanks

    • @chauque1091
      @chauque1091 8 місяців тому +1

      @@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!

    • @xiaxiaky55
      @xiaxiaky55 8 місяців тому

      @@mayfairking9500thanks ❤

    • @alexrios9320
      @alexrios9320 7 місяців тому

      @@chauque1091I can’t find the one that is recommended for users so I don’t know which one to download for macOS

  • @hanieshmt
    @hanieshmt 8 місяців тому

    Thanks bro💘

  • @balajiramamurthy9417
    @balajiramamurthy9417 5 місяців тому

    Very detailed explanation. Thank you.

  • @dhruvijoshi230
    @dhruvijoshi230 4 місяці тому

    Thank You

  • @satyambawage
    @satyambawage 4 місяці тому

    at 13:31 why not showing cd documents or desktop type folder once i hit in terimnal

  • @mberns81
    @mberns81 3 місяці тому

    Will this method work if my Mac has an Intel chip?

  • @sathsarajayalath6681
    @sathsarajayalath6681 8 місяців тому +1

    after enter the" source ~/.zshrc" this like error ".zshrc:23: command not found: bash_completion" how solve this

  • @adrianasofiasoliscastro1207
    @adrianasofiasoliscastro1207 5 місяців тому

    Gracias señor 🙏

  • @BukkyOdunsi
    @BukkyOdunsi 3 місяці тому

    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!

  • @deepakgurjar6481
    @deepakgurjar6481 6 місяців тому

    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)

    • @Harsh-e3e
      @Harsh-e3e 6 місяців тому

      Can't you do it nvm?

  • @scentricftw
    @scentricftw 4 місяці тому

    best shitt everrr!!!
    🚀

  • @cvarun9221
    @cvarun9221 7 місяців тому

    The video seems slow even at 1.5X lol.
    Great work !

  • @aliceiqw
    @aliceiqw 7 місяців тому +3

    "zsh: command not found: code". :(((

  • @ballusivakrish
    @ballusivakrish 7 місяців тому

    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 ?

  • @akshithanilkumar8557
    @akshithanilkumar8557 4 місяці тому

    i am getting zsh: command not found: nvm at 7:06... anybody got the same problem

  • @siddhartharenikuntla9624
    @siddhartharenikuntla9624 6 місяців тому

    why to create .zshrc file?

  • @aajtox4209
    @aajtox4209 3 місяці тому

    I can’t open vs code like “open filename “

    • @fifaworldcup2022xx
      @fifaworldcup2022xx 3 місяці тому

      Bro , If you want to open the Js file in Vs code you have to enter 'code jsfilename' on terminal.

  • @ming.manangan
    @ming.manangan 11 місяців тому

    .zshrc not created after touch .zshrc, please help

    • @LifeOf_RAM_1505
      @LifeOf_RAM_1505 11 місяців тому +1

      then you must have already have .zshrc file .. do recheck

  • @aajtox4209
    @aajtox4209 3 місяці тому

    Hi bro

  • @nikhilpabolu2478
    @nikhilpabolu2478 5 місяців тому

    Sry how to close the program 😂

  • @vivekanandpandey4114
    @vivekanandpandey4114 6 місяців тому

    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 ❤

  • @muratusubaliev3533
    @muratusubaliev3533 3 місяці тому

    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.

  • @LeoLeo-sh4vm
    @LeoLeo-sh4vm 7 днів тому

    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

  • @PramodKumar-bj5ee
    @PramodKumar-bj5ee 8 місяців тому

    Thanks!😊

  • @prabitadhikari8467
    @prabitadhikari8467 2 місяці тому

    Pretty helpful !

  • @MustafaSheikh
    @MustafaSheikh 3 місяці тому

    Thankyou so much!

  • @matthewblasco4720
    @matthewblasco4720 6 місяців тому

    Thank you sensei

  • @eduardoPicazzo
    @eduardoPicazzo 9 місяців тому

    Thank you!

  • @jinxxx736
    @jinxxx736 9 місяців тому +1

    why my node version changes after every time i restart terminal