![]() Installing the older versions of Node. This updates Homebrew with a list of the latest version of Node. ![]() This installs the latest version of Node.js. Installation Steps Open the Terminal app and type brew update. Now you're ready to install node via Homebrew: run brew install node. Test if Node.js is already installed somewhere else with node -v: if it gives you a version number, uninstall it by following these instructions. My colleague, who had the same problem, may have added manual node compilation to a shared project setup script (he's working in both Ubuntu & Mac) to get the latest version on Ubuntu. If not, go to the the website brew.sh and copy-paste the command given in your terminal to install it. Dominique: brew doctor only gives me warnings about having Mono (conflicting pkg-config) installed.Don't think I've had another node installed, but it's possible. First, check if Homebrew is installed with brew -v. If you've not already done so, please make sure that Node.js is installed via Homebrew. In this tutorial I'll show you how to switch between multiple versions of Node.js on macOS with Homebrew.įirst we need to make sure that your environment is ready. But sometimes you'll need a different version of Node.js than the latest. It is also the best way to install Node.js and, with that, npm. Homebrew is an awesome tool for installing and managing packages installed on macOS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |