When the package.json file of the Bit CLI contains a field specifying the Node.js version that it needs to work with (via "bvm": { "node": "<version>" }), bvm installs the provided Node.js version to <bvmDir>/nodejs/<version> and links bit to that version of Node.js. So when the user will run bit, the installed Node.js version will be used to execute it.
When the
package.json
file of the Bit CLI contains a field specifying the Node.js version that it needs to work with (via"bvm": { "node": "<version>" }
), bvm installs the provided Node.js version to<bvmDir>/nodejs/<version>
and links bit to that version of Node.js. So when the user will runbit
, the installed Node.js version will be used to execute it.