Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

using nodeenv

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:

$ virtualenv env
$ . env/bin/activate
(env) $ pip install nodeenv
(env) $ nodeenv --version

If you want to work with the latest version of the nodeenv you can install it from the github repository:
$ git clone https://github.com/ekalinin/nodeenv.git
$ ./nodeenv/nodeenv.py --help

or with pip:
$ pip install -e git+https://github.com/ekalinin/nodeenv.git#egg=nodeenv



Dependency:
For nodeenv
python (2.6+, 3.5+, or pypy)
make
tail
For node.js
libssl-dev

Usage:
Basic
Create new environment:
$ nodeenv env

Activate new environment:
$ . env/bin/activate

Check versions of main packages:
(env) $ node -v
v0.10.26

(env) $ npm -v
1.4.3

Deactivate environment:

(env) $ deactivate_node


Comment

PREVIOUS NEXT
Code Example
Javascript :: strictPopulate 
Javascript :: In express redirect user to external url 
Javascript :: Backbone Router Notes 
Javascript :: javascript nodejs array to listnode 
Javascript :: shrinkStringByRepeatFactor 
Javascript :: Top Tips for Vue 3 Development 
Javascript :: close popup after 5 seconds in jquery 
Javascript :: Solution-4-B--solution options for reverse bits algorithm js 
Javascript :: java scrypt 
Javascript :: convert c# code to javascript 
Javascript :: code for random password generator in javascript 
Javascript :: regex country code 
Javascript :: use of prototype in javascript 
Javascript :: array methods in javascript 
Javascript :: js return 
Javascript :: loop js 
Javascript :: subarray javascript 
Javascript :: sweetalert2 redirect after ok 
Javascript :: color switcher 
Javascript :: leaflet limit map panning 
Javascript :: get cos in degree javascript 
Javascript :: javascript variable hoisting 
Javascript :: zigale assefa 
Javascript :: javascript Regular Expression Modifier 
Javascript :: cntl intellisense tailwind 
Javascript :: Photoshop extendscript javascript save to text file a list of layers 
Javascript :: javascript equality operator 
Javascript :: phaser rotate around 
Javascript :: test unitaire javascript 
Javascript :: chai promise resolved 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =