Created
October 18, 2016 16:02
-
-
Save Vlasterx/e4734631aa10bfe42091844108a4d84f to your computer and use it in GitHub Desktop.
Installing Node on Debian 8
This file contains hidden or 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
| wget https://nodejs.org/dist/v4.6.0/node-v4.6.0-linux-x64.tar.xz | |
| tar -xJf node-v4.6.0-linux-x64.tar.xz && cd node-v4.6.0-linux-x64 | |
| cp ./bin/node /usr/local/bin/node | |
| cp -r ./lib/node_modules /usr/local/lib/node_modules | |
| ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm | |
| cp -r ./include/node /usr/local/include | |
| mkdir -p /usr/local/man/man1 && cp ./share/man/man1/node.1 /usr/local/man/man1/node.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment