Last active
December 23, 2015 10:39
-
-
Save max-arnold/6623465 to your computer and use it in GitHub Desktop.
node.js installation into virtualenv
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
# workon myenv | |
# cdvirtualenv | |
# | |
## prefix is required both for compilation and for npm: | |
# export PREFIX=$(pwd) | |
# export NODEVER=0.10.18 | |
# | |
# wget http://nodejs.org/dist/v${NODEVER}/node-v${NODEVER}.tar.gz | |
# tar -zxf node-v${NODEVER}.tar.gz | |
# cd node-v${NODEVER} | |
# ./configure --prefix=$PREFIX | |
# make && make install | |
# | |
# cd .. | |
# rm -rf node-v${NODEVER} | |
# rm node-v${NODEVER}.tar.gz | |
# | |
## next, install necessary packages with npm -g: | |
# npm install -g coffee-script | |
# | |
## to refresh shell command cache use hash -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment