Manage Node.js versions on MacOS with n
TL;DR Easily switch between Node.js versions with n
Install n
with npm
:
npm install -g n
Simply execute n <version>
to download and install a version of node
. If <version>
has already been downloaded, n
will install from its cache.