Explore our extensive collection of courses designed to help you master various subjects and skills. Whether you're a beginner or an advanced learner, there's something here for everyone.


Learn live

Join us for our free workshops, webinars, and other events to learn more about our programs and get started on your journey to becoming a developer.

Upcoming live events

Learning library

For all the self-taught geeks out there, here is our content library with most of the learning materials we have produced throughout the years.

It makes sense to start learning by reading and watching videos about fundamentals and how things work.

Full-Stack Software Developer - 16w

Data Science and Machine Learning - 16 wks

Search from all Lessons

LoginGet Started

Weekly Coding Challenge

Every week, we pick a real-life project to build your portfolio and get ready for a job. All projects are built with ChatGPT as co-pilot!

Start the Challenge

Podcast: Code Sets You Free

A tech-culture podcast where you learn to fight the enemies that blocks your way to become a successful professional in tech.

Listen the podcast
← Back to How to's
Edit on Github

How to install node and nvm on a Mac osx (mojave)

Written by:

There are several ways to install node on any mac, but my recommendation will be to install it using brew and nvm.
I think that is the best approach for several reasons:

  1. You will find that some times you want to switch between several versions of node depending on the libraries that you use, you dont want to be stuck in just one version.
  2. Brew is an amazing package manager for mac that contains very mature packages already bullet prove on any possible bugs.

Steps to install:

  1. Install brew (if you don't have it already)

According to the brew official website you only to paste need one command on the console:

1 $ /usr/bin/ruby -e "$(curl -fsSL"
  1. Install NVM using brew
1 $ brew install nvm
  1. Load it in the terminal
1$ mkdir -p ~/.nvm 2$ echo $'export NVM_DIR="$HOME/.nvm"\n. "/usr/local/opt/nvm/"' >> ~/.bash_profile
  1. Restart your current terminal
1$ source ~/.bash_profile
  1. Install node version 8 or whatever version you want
1$ nvm i 8

If you had any errors

Please file an issue here and we will do our best to help you. You can also contribute and PR any updates you think should be made to this guide..