As easy as 1, 2, 3!
Updated:
- Aug, 08, 2022 update
config
docs for npm 8+ - Jul 27, 2021 add private scopes
- Jul 22, 2021 add dist tags
- Jun 20, 2021 update for
--access=public
- Sep 07, 2020 update docs for
npm version
$ brew upgrade node | |
==> Upgrading node | |
==> Downloading http://nodejs.org/dist/v0.8.0/node-v0.8.0.tar.gz | |
######################################################################## 100.0% | |
==> ./configure --prefix=/usr/local/Cellar/node/0.8.0 --without-npm | |
==> make install | |
==> Caveats | |
Homebrew has NOT installed npm. We recommend the following method of | |
installation: | |
curl http://npmjs.org/install.sh | sh |