linux 安装nodejs 7.10

Posted by bower on May 24, 2017

分享给你的朋友->bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

#wget https://nodejs.org/dist/v7.10.0/node-v7.10.0-linux-x64.tar.xz

#tar xvfJ node-v7.10.0-linux-x64.tar.xz

#cd node-v7.10.0-linux-x64/bin

# cp node  /usr/bin

#cp -r ../lib/node_modules/ /usr/lib

#cd /usr/bin

# ln -s ../lib/node_modules/npm/bin/npm-cli.js npm

OK 打完收工

只要解压后 拷贝到正确的位置

分享到:人人网开心网腾讯微博新浪微博豆瓣分享腾讯空间百度搜藏腾讯书签

分享给你的朋友->bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word