![]() If you want to install specific version of Node.js, you need to provide the desired version in the install command. Installing Node.js through Homebrew is similarly executing another simple one-line command: $ brew install node Nonetheless, the Homebrew installation is very simple with one liner command on the terminal: $ /bin/bash -c "$(curl -fsSL )" ![]() Despite its popularity, Homebrew is not a built-in tool on Mac. It runs on command line interface to perform package or app installation/upgrade/removal through brew executable. Homebrew is popular package management system for MacOS. Check through command line to confirm that Node.js has been installed $ node -v Option 2: Update Node.js through Homebrew You can also pick Current version (2) for the binary with latest / newest features.Ĥ. This is usually the preferred choice if you are developing a Node.js app to be deployed on a production server. The LTS (Long Term Support) version (1) is the choice when you want to run a stable version.
0 Comments
Leave a Reply. |