Contents
Which is the latest version of node in Brew?
The command brew install node right now, installs 0.2.6 – which is not ideal. I would like 0.4.1 I’ve looked at this list of commands for brew and tried brew install –HEAD node But that installs node 0.5-pre. Why isn’t brew installing the right version and how can I force it to get the right one?
Is it possible to install multiple versions of brew?
You can also install multiple versions and select which one you want to use with the brew switch command. Anyway, I’d recommend using nvm, which can be installed through Homebrew. Although, the version on brew is buggy and they don’t plan fixing it.
How to install NVM on multiple versions of node?
Back to your shell, activate nvm and check it (if you have other shells opened and you want to keep them, do the same) : Now, you can install node : From now on, you’re using the v0.12.x of node on this shell, you can install your global dependencies such as grunt-cli (they will be tied up to this version of node).
Which is the latest version of Node.js?
Less than a month ago, iojs was released (multiple releases followed) and 6 days ago, the v0.12.0 of node was released. I still had the same v0.10.x (can’t remember the patch ) of node on my computer I installed a few months ago …
What’s the best way to install node and NPM?
Installing Node.js and NPM is pretty simple using Homebrew. Homebrew takes care of downloading, unpacking, and installing Node and NPM on your system. The whole process (after you have XCode and Homebrew installed) won’t take more than a few minutes.
Is there a problem with homebrew installing NPM?
There’s an NPM bug for this exact problem. The bug has been “fixed” by Homebrew installing npm in a way that allows it to manage itself once the install is complete. However, this is error-prone and still seems to cause problems for some people.
How to install the latest version of node?
If you have installed current node via Homebrew, just use these commands. node -v will show you the current version. npm -v will show you the current version. brew link –overwrite –dry-run node will force the link and overwrite all conflicting files. brew install node do a fresh installation.