May 2018
Intermediate to advanced
512 pages
11h 3m
English
On macOS, HomeBrew doesn't have an LTS-specific channel for Node, and if the latest version is an odd-numbered version, you'll find yourself in an undesirable position. If you execute brew upgrade node by mistake and upgrade to an odd version, recovering from this mistake is annoying at best. The process includes potentially breaking other CLI tools by running a command like this:
$ brew uninstall --ignore-dependencies node
After your initial Node install through brew, I highly recommend leveraging the feature rich, and interactive Node version manager tool, n, created by ex-Node maintainer TJ Holowaychuk:
$ npm install -g n
Read now
Unlock full access