Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/desenmeng/ivm
io.js version management
https://github.com/desenmeng/ivm
Last synced: 4 months ago
JSON representation
io.js version management
- Host: GitHub
- URL: https://github.com/desenmeng/ivm
- Owner: desenmeng
- License: mit
- Created: 2015-01-14T06:37:12.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-02T02:18:34.000Z (about 10 years ago)
- Last Synced: 2024-10-17T13:27:15.557Z (4 months ago)
- Language: Shell
- Size: 141 KB
- Stars: 58
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-repos - desenmeng/ivm - io.js version management (Shell)
README
# [nvm](https://github.com/creationix/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](https://github.com/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](https://github.com/tj/n)**Just change n to ivm**
![](https://i.cloudup.com/59cA8VEDae.gif)
![snip20150114_35](https://cloud.githubusercontent.com/assets/1209159/5735628/e3b2e7ba-9c03-11e4-91df-e346a307a70d.png)
### Installing Binaries
Install iojs:
$ ivm 1.0.0
$ ivm 1.0.1Type `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.1Use 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/iojsOr 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