Skip to content

Instantly share code, notes, and snippets.

@gthieleb
Created November 23, 2016 13:50
Show Gist options
  • Save gthieleb/5d7494ec545edcdfb4f2a9df80efe275 to your computer and use it in GitHub Desktop.
Save gthieleb/5d7494ec545edcdfb4f2a9df80efe275 to your computer and use it in GitHub Desktop.
Using npm inside virtualenv
# credits @Marco Louro (https://lincolnloop.com/blog/installing-nodejs-and-npm-python-virtualenv/)
$ workon myvirtualenv
$ curl http://nodejs.org/dist/node-latest.tar.gz | tar xvz
$ cd node-v*
$ ./configure --prefix=$VIRTUAL_ENV
$ make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment