fnm

Fast Node Manager

Subcommands

NameDescription
installInstall a new Node.js version
uninstallUninstall a Node.js version
useChange Node.js version
execRun a command within fnm context
currentPrint the current Node.js version
list,lsList all locally installed Node.js versions
list-remote,ls-remoteList all remote Node.js versions
aliasAlias a version to a common name
unaliasDeletes the alias named <name>
completionsPrint shell completions to stdout
defaultSet a version as the default version. This is a shorthand for 'fnm alias VERSION default'
envPrint and set up required environment variables for fnm
helpPrints the help page or the help of the given subcommand(s)

Options

NameDescription
--help,-hPrints help information
--version,-VPrints version information
--arch <command>Override the architecture of the installed Node binary. Defaults to arch of fnm binary
--fnm-dir <command>The root directory of fnm installations
--log-level <command>The log level of fnm commands
--node-dist-mirror <command>Https://nodejs.org/dist/ mirror