Created
June 6, 2017 12:36
-
-
Save grepsedawk/e3d2fac1dd4ee066d9fc4107ed5a8f8a to your computer and use it in GitHub Desktop.
Install NodeJS Binaries on Linux :D
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
#! /usr/bin/env bash | |
cd /tmp | |
wget https://nodejs.org/dist/v6.10.3/node-v6.10.3-linux-x64.tar.xz | |
tar xf node-v6.10.3-linux-x64.tar.xz | |
cd node-v6.10.3-linux-x64 | |
cp bin/node /usr/local/bin/ | |
cp lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment