To update node you have two options.
- If you installed node with a binary installer, then you will need to uninstall node from your computer using the command below that removes node with the
rm
command this will permanently delete node from your computer. Then you will have to go out and download and install the latest version of node.js. - If you used Homebrew to install node you can update node by running the following command.
brew upgrade node
I always had a passion for the field of STEM (Science, Technology, Engineering, and Math) and I knew I wanted to do something to make a difference in the world. I just didn’t know where to start. I was an immigrant in a new country, grew up in a tough environment, and wasn’t sure how… Read More