To remedy that you might consider adding your desired node version to PATH instead: echo 'export > ~/. So if you have the latest/generic node package already installed you need to unlink it first: brew unlink nodeĪnd then you can link a different version: brew link it might be required to link them with the -force and -overwrite options: brew link -force -overwrite when new node version comes out and you’ll update to it by running brew upgrade, the link will be removed and the most recent node version will be linked instead. 23:58:11 OfStack Mac On the Mac, if you prefer homebrew, you can install it in one line: The brew install node Otherwise, you can only consider manual installation, as follows: Install Xcode Install git Run the following command line to compile node.js. This might give you the follow results: heroku/brew/heroku-node ✔Īnd then install the desired version: brew install remember that you can install more than 1 node package at the same time, but you cannot have them available at the same time. For demonstration purposes we will install & set Node.js open in new window via the asdf-nodejs open in new window plugin. Continue the guide below to learn how to do this. These days if you want to install a different version of node you do it this way:įirst search for your desired package: brew search node asdf is only useful once you install a plugin, install a tool and manage its versions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |