Created
September 20, 2016 09:00
-
-
Save gongzili456/d5966d2c61d5de3fd36b35561287f852 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd ~ | |
wget https://nodejs.org/dist/v6.6.0/node-v6.6.0-linux-x64.tar.xz | |
cd /usr/local | |
sudo tar --strip-components 1 -xf ~/node-v6.6.0-linux-x64.tar.xz | |
node -v | |
npm -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment