nvm Command Examples

Install, uninstall or switch between Node.js versions. Supports version numbers like "12.8" or "v16.13.1", and labels like "stable", "system", etc. See also: asdf. More information: https://github.com/creationix/nvm.

nvm install {{node_version}}

nvm use {{node_version}}

nvm alias default {{node_version}}

nvm list

nvm uninstall {{node_version}}

nvm run {{node_version}} --version

nvm exec {{node_version}} node {{app.js}}