码迷,mamicode.com
首页 > Web开发 > 详细

Linux上安装nodejs

时间:2016-01-15 16:23:52      阅读:157      评论:0      收藏:0      [点我收藏+]

标签:

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

Linux上安装nodejs

标签:

原文地址:http://www.cnblogs.com/liuzhenwei/p/5133223.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!