您的位置:首页 > 运维架构 > Linux

Linux上安装nodejs

2016-01-15 14:27 429 查看
https://github.com/nodejs/node-v0.x-archive/wiki/Installing-Node.js-via-package-manager#debian-and-ubuntu-based-linux-distributions

Setup with Ubuntu

curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -

Then install with Ubuntu:

sudo apt-get install --yes nodejs

If you get node: command not found chances are likely you need to link your binary:

sudo ln -s /usr/bin/nodejs /usr/bin/node
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: