fnm alias [version] <name>
Alias a version to a common name
Arguments
Name | Description |
---|
version | A version string. Can be a partial semver or a LTS version name by the format lts/NAME |
name | Alias name |
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 |