schultyy / avm

Installs Ruby and node.js on your machine
11 stars 4 forks source link

Add autoselect command #66

Closed schultyy closed 8 years ago

schultyy commented 8 years ago

PR for #63 This new commands enables users to switch easily between installed node versions.

The new command autoselect checks if there is a package.json present and reads the engine property. Then the specified node version is used if installed.