All apps/nvm

nvm

nvm

Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions.

Runs as nvm|macOS, Linux|github.com

Command form

ai-draft · 4 tasks · 14 fields

Install and switch Node.js versions. Only install, use and ls-remote are covered.

Opens the form; the finished command lands at your prompt, unrun
otty gui nvm

nvm install

Install a Node version

Download and install a version. Uses .nvmrc when no version is given.

Install a Node versionExample values, fixed in this page — nothing here reaches a terminal
Basic
Node version
string
LTS only
--lts
Upgrade npm
--latest-npm
Set as default
--default
TasksEach one presets the form for one job
Install a version
versionltslatest_npmdefault
Install latest LTS
latest_npmdefault
ParametersOnly these flags are editable in the form
Node version
Version or alias such as node, an LTS name or a number. Leave empty to use .nvmrc.
string · positional 0
LTS only
Only select from long-term support versions.
boolean
--lts
Reinstall packages from
Version whose global npm packages are reinstalled.
string
--reinstall-packages-from
Upgrade npm
boolean
--latest-npm
Skip default packages
boolean
--skip-default-packages
No progress bar
boolean
--no-progress
Alias
Alias to set for the installed version.
string
--alias
Set as default
boolean
--default

nvm use

Use a Node version

Modify PATH to use a version in this shell.

Use a Node versionExample values, fixed in this page — nothing here reaches a terminal
Basic
Node version
string
Silent
--silent
TasksEach one presets the form for one job
Use a version
versionsilent
ParametersOnly these flags are editable in the form
Node version
Version or alias such as node, an LTS name or a number. Leave empty to use .nvmrc.
string · positional 0
LTS alias
Use the lts/* alias.
boolean
--lts
Silent
boolean
--silent

nvm ls-remote

List remote versions

List versions available for install.

List remote versionsExample values, fixed in this page — nothing here reaches a terminal
Basic
Version filter
string
LTS only
--lts
TasksEach one presets the form for one job
List versions
versionlts
ParametersOnly these flags are editable in the form
Version filter
string · positional 0
LTS only
boolean
--lts
No colors
boolean
--no-colors
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed nvm against its version. A form that does not match your version is not offered.