loading...

Do we need more than NPM?

po5i profile image Carlos Villavicencio ・1 min read

GitHub logo ekalinin / nodeenv

Virtual environment for Node.js & integrator with virtualenv

Node.js virtual environment

nodeenv (node.js virtual environment) is a tool to create isolated node.js environments.

It creates an environment that has its own installation directories that doesn't share libraries with other node.js virtual environments.

Also the new environment can be integrated with the environment which was built by virtualenv (python).

If you use nodeenv feel free to add your project on wiki: Who-Uses-Nodeenv.

https://travis-ci.org/ekalinin/nodeenv.svg?branch=master

Install

Global installation

You can install nodeenv globally with easy_install:

$ sudo easy_install nodeenv

or with pip:

$ sudo pip install nodeenv

or on Debian using dpkg:

$ ln -s debian-upstream debian
$ dpkg-buildpackage -uc -us -b
$ sudo dpkg -i $(ls -1rt ../nodeenv_*.deb | tail -n1)

Local installation

If you're using virtualenv then you can install nodeenv via pip/easy_install inside any virtual environment built with…

Why things like these exist, if we can create deterministic isolated environment by just using NPM?

This reminds me of this funny meme:

Discussion

pic
Editor guide