Skip to content

Instantly share code, notes, and snippets.

@chaseholdren
chaseholdren / nvmish
Created May 14, 2024 05:21 — forked from assaf/nvmish
nvm use <package.json>
#!/usr/bin/env bash
#
# Run nvmish in your current project directory to use the version of io.js/Node
# as specified in package.json. It will also install that version, if not
# already installed.
#
# If package.json specifies engines.iojs, uses the corresponding version of
# io.js, otherwise, if package.json specifies engines.node, uses the
# corresponding version of Node.js.
#