LinuxCommandLibrary

nvm.fish

node Version Manager for Fish shell

TLDR

Install Node.js version
$ nvm install [version]
copy
Use specific version
$ nvm use [version]
copy
List installed versions
$ nvm list
copy
Set default version
$ set --universal nvm_default_version [version]
copy
Install latest LTS
$ nvm install lts
copy

SYNOPSIS

nvm [command] [version]

DESCRIPTION

nvm.fish is Node Version Manager for Fish shell. Native Fish implementation.
The tool manages Node.js versions in Fish. Different from bash nvm.

PARAMETERS

install VERSION

Install Node.js version.
use VERSION
Switch to version.
list
List installed versions.
current
Show current version.
uninstall VERSION
Remove version.
--help
Display help information.

CAVEATS

Fish shell specific. Not compatible with bash nvm. Uses Fisher or manual install.

HISTORY

nvm.fish was created as a native Fish shell implementation of Node Version Manager.

SEE ALSO

nvm(1), fish(1), fnm(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard