首页 > Web开发 > 详细

linux下Node.js安装

时间:2017-02-22 15:06:00      阅读:255      评论:0      收藏:0      [点我收藏+]

首先安装python2.7

wget -c https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz
tar -xzvf Python-2.7.9.tgz 
./configure  
make
make install

查看python 版本 python安装地点

python --version
which python

其实ubuntu自己集成了python2.7.12

 

node.js安装

sudo apt-get install nodejs
sudo apt-get install npm

node版本查看

node --version

 

linux下Node.js安装

原文:http://www.cnblogs.com/yankang/p/6429011.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!