You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
6 years ago | |
---|---|---|
.ci | 6 years ago | |
docs | 6 years ago | |
esy.lock | 6 years ago | |
executable | 6 years ago | |
feature_tests | 6 years ago | |
library | 6 years ago | |
test | 6 years ago | |
.dockerignore | 6 years ago | |
.gitignore | 6 years ago | |
Dockerfile | 6 years ago | |
README.md | 6 years ago | |
azure-pipelines.yml | 6 years ago | |
dune | 6 years ago | |
dune-project | 6 years ago | |
fnm.opam | 6 years ago | |
package.json | 6 years ago |
README.md
Fast Node Manager (fnm
)
🚀 Fast and simple Node.js version manager, built in ReasonML
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`
If you are using fish shell, add this line to your
config.fish
file:eval (fnm env --fish)
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 withcohttp
/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