fnm env

Print and set up required environment variables for fnm

Options

NameDescription
--use-on-cdPrint the script to change Node versions every directory change
shell <shell>The shell syntax to use. Infers when missing
--help, -hPrints help information
--version, -VPrints 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