[feature] Run command #76

Merged
merged 3 commits into from Nov 14, 2011
Commits on Oct 29, 2011
  1. [feature] Add `run` command

    mmalecki committed Oct 29, 2011
    `run` command runs given node version without modyfing global state:
    
        [maciej@PC07 nvm (run)]$ node --version
        v0.4.12
        [maciej@PC07 nvm (run)]$ nvm run 0.4.12
        Running node v0.4.12
        > process.version
        'v0.4.12'
        > [maciej@PC07 nvm (run)]$ nvm run 0.5.9
        Running node v0.5.9
        > process.version
        'v0.5.9'
        > [maciej@PC07 nvm (run)]$ node --version
        v0.4.12
Commits on Nov 5, 2011
  1. [feature] Allow passing additional arguments to node

    mmalecki committed Nov 5, 2011
    For example:
    
        nvm run v0.6.0 myApp.js