commands.sh

fnm

all

Fast Node.js version manager.

More info →

Options (3)

boolean

Install a specific version of Node.js

Example: fnm {{[i|install]}} {{node_version}}
boolean

List all available Node.js versions and highlight the default one

Example: fnm {{[ls|list]}}
boolean

Uninstall a given Node.js version

Example: fnm {{[uni|uninstall]}} {{node_version}}

Examples (6)

Install a specific version of Node.js

fnm [i|install] node_version

Install Node.js LTS

fnm [i|install] --lts

List all available Node.js versions and highlight the default one

fnm [ls|list]

Use a specific version of Node.js in the current shell

fnm use node_version

Set the default Node.js version

fnm default node_version

Uninstall a given Node.js version

fnm [uni|uninstall] node_version
made by @shridhargupta | data from tldr-pages