![]() ![]() To do this, we can use the following command to get the latest stable release of each major version (just swap out the version number to the version you want to install): brew install the correct version is installed we just need to unlink the old version: brew unlink link the version we want to use: brew link ensure everything worked out as planned, check the node version to confirm: node -v You may need to install any missing version required if it's not already available locally. Next, lets check what version(s) of Node are already available on our system using the following command: brew search node ![]() Here is the basics for switching Node versions using Homebrew on Mac OS.įirst, find out what version of Node you currently have installed: node -v With Node, I'm always trying to stay current and in some cases I need to switch between Node versions when switching between projects. ![]() This may seem like common sense but with every software update that comes along, while there are often clear benefits to the upgrade, you may find your previously working code or project is no longer willing to play nice. There is an old saying I find myself repeating often, "if it ain't broke, don't fix it". ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |