HomeBrew for mac to install node npm

本文介绍了如何在OSX系统中使用Homebrew安装Node.js及其配套的npm包管理器,并提供了详细的步骤指导。

官方介绍:The missing package manager for OS X(OS X 不可或缺的套件管理器)

You can use this code to install

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"  

Then install node npm

brew install node

Maybe you can down from office web
https://nodejs.org/en/#download

Lts long term support
current

Terminal:

==> Installation successful!
==> Next steps
Run `brew help` to get started
Further documentation: https://git.io/brew-docs
==> Homebrew has enabled anonymous aggregate user behaviour analytics
Read the analytics documentation (and how to opt-out) here:
  https://git.io/brew-analytics
localhost:~ liyang$ brew install node
==> Downloading https://homebrew.bintray.com/bottles/node-6.3.1.el_capitan.bottl
######################################################################## 100.0%
==> Pouring node-6.3.1.el_capitan.bottle.tar.gz
==> Caveats
Please note by default only English locale support is provided. If you need
full locale support you should either rebuild with full icu:
  `brew reinstall node --with-full-icu`
or add full icu data at runtime following:
  https://github.com/nodejs/node/wiki/Intl#using-and-customizing-the-small-icu-build

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
  /usr/local/Cellar/node/6.3.1: 3,829 files, 39.8M
localhost:~ liyang$ 
Congratulations for you!
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值