fnm
Fast Node Manager
Subcommands
Name | Description |
---|---|
install | Install a new Node.js version |
uninstall | Uninstall a Node.js version |
use | Change Node.js version |
exec | Run a command within fnm context |
current | Print the current Node.js version |
list, ls | List all locally installed Node.js versions |
list-remote, ls-remote | List all remote Node.js versions |
alias | Alias a version to a common name |
unalias | Deletes the alias named <name> |
completions | Print shell completions to stdout |
default | Set a version as the default version. This is a shorthand for 'fnm alias VERSION default' |
env | Print and set up required environment variables for fnm |
help | Prints the help page or the help of the given subcommand(s) |
Options
Name | Description |
---|---|
--help, -h | Prints help information |
--version, -V | Prints version information |
--arch <arch> | Override the architecture of the installed Node binary. Defaults to arch of fnm binary |
--fnm-dir <dir> | The root directory of fnm installations |
--log-level <logLevel> | The log level of fnm commands |
--node-dist-mirror <nodeDistMirror> | Mirror of https://nodejs.org/dist |
--version-file-strategy <strategy> | Strategy for how to resolve the Node version |