This follows the same pattern as using chruby, which is quite nice. Configured to autoload from .node-version.
https://github.com/tkareine/chnode https://github.com/nodenv/node-build
- List available Node versions:
chnode - Use a Node:
chnode 16.20.2 - Reload Nodes:
chnode --reload
- List known Node versions:
node-build --definitions - Install a Node version:
node-build 18.19.0 ~/.nodes/node-18.19.0 - Symlink a Node version to allow for just
18in.node-version:ln -s ~/.nodes/node-16.20.2 ~/.nodes/node-16