Skip to content
/ fnm Public
forked from Schniz/fnm

🚀 Fast and simple Node.js version manager, built in ReasonML

Notifications You must be signed in to change notification settings

sdball/fnm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast Node Manager (fnm) Build Status

🚀 Fast and simple Node.js version manager, built in ReasonML

Blazing fast!

Features

✨ Single file, easy installation

🚀 Built with speed in mind

🤔 Works with .nvmrc files

Installation

  • Download the latest release binary for your system

  • Make it available globally on $PATH

  • Add the following line to your .bashrc/.zshrc file:

    eval `fnm env`

Future Plans

  • Add a simpler way of installing it (curl | bash?)
  • Feature: make versions complete the latest: 10 would infer the latest minor and patch versions of node 10. 10.1 would infer the latest patch version of node 10.1
  • Feature: fnm use --install, fnm use --quiet
  • Feature: fnm install lts?
  • Feature: fnm alias?
  • Feature: Consider nvm-like per-shell usage with symlinks on /tmp directory
  • OSX: Add to homebrew?
  • Windows Support?
  • Linux: Replace curl usage with cohttp/ocurl or something else which is statically-linkable
  • Linux: Replace tar with a statically linked library too (for ungzip + untar)

Contributing

PRs welcome 🎉

Developing:

npm install -g esy
git clone https://github.com/Schniz/fnm.git
esy install
esy build

Running Binary:

After building the project, you can run the main binary that is produced.

esy x fnm.exe

Running Tests:

# Runs some smoke-unity test
esy test

# Runs the feature tests
feature_tests/run.sh

About

🚀 Fast and simple Node.js version manager, built in ReasonML

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • OCaml 91.3%
  • Shell 6.5%
  • Dockerfile 2.0%
  • C++ 0.2%