Skip to content
/ fnm Public
forked from jorgebucaran/nvm.fish

node.js version manager for fish

Notifications You must be signed in to change notification settings

ngryman/fnm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fnm

fnm is a node version manager using ideas from tj/n, wbyoung/avn and creationix/nvm for fish.

Features

  • No sudo

  • No configuration

  • Cached downloads

  • Automatic version switching

Install

With fisherman

fisher fnm

Usage

Use node 5.5.0.

fnm 5.5.0
node -v
v5.5.0

Use a .fnmrc file.

echo 5.10.1 > .fnmrc
node -v
v5.10.1

Use the latest stable node release.

fnm latest

Use the latest LTS (long-term support) node release.

fnm lts

Select a version interactively.

fnm
  5.5.0
  5.10.0
• 5.10.1

List all versions available for download.

fnm ls
  ...
- 5.5.0   # downloaded
  5.6.0
  ...
  5.9.1
- 5.10.0  # downloaded
• 5.10.1  # active version

Remove a version.

fnm rm 5.5.0

Customize the download mirror.

set -U fnm_mirror http://npm.taobao.org/mirrors/node

About

node.js version manager for fish

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%