Skip to content

desenmeng/ivm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvm has supported io.js, nvm is a better choice to manage multiple active node.js&io.js versions

ivm

This repository began as a GitHub fork of tj/n. Simple flavour of node binary management, no subshells, no profile setup, no convoluted api, just simple.

Installation

$ npm install -g ivm

Help

$ ivm --help

Useage

Useage go straight to n

Just change n to ivm

snip20150114_35

Installing Binaries

Install iojs:

$ ivm 1.0.0
$ ivm 1.0.1

Type ivm to prompt selection of an installed node. Use the up / down arrow to navigate, and press enter or the right arrow to select, or ^C to cancel:

$ ivm

  1.0.0
ο 1.0.1

Use or install the latest official release:

$ ivm latest

Use or install the stable official release:

$ ivm stable

Switch to the previous version you were using:

$ ivm prev

Removing Binaries

Remove some versions:

$ ivm rm 1.0.0 v1.0.1

Instead of using rm we can simply use -:

$ n - 1.0.0

Binary Usage

When running multiple versions of node, we can target them directly by asking ivm for the binary path:

$ ivm bin 1.0.0
/usr/local/iojs/versions/1.0.0/bin/iojs

Or by using a specific version through ivm's use sub-command:

$ ivm use 1.0.0 some.js

with flags:

$ ivm as 1.0.0 --debug some.js

About

io.js version management

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published