fnm
nodenv
Our great sponsors
fnm | nodenv | |
---|---|---|
50 | 4 | |
10,104 | 1,905 | |
- | 1.9% | |
9.3 | 2.3 | |
3 days ago | 3 months ago | |
Rust | Shell | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fnm
- Is Pop!_OS aiming to be an immutable OS?
- How to Install Multiple Node.js Versions On the Same Machine
-
I eventually stopped using a plugin manager
https://github.com/Schniz/fnm works pretty well with fish, btw. The main drawback is that it doesn't have a command to automatically install your global npm packages from the last version. But it is not too hard to make your own.
- zsh plugin for lazy loading nvm (no more lags)
-
Linux: Best way to install node & npm
or, just use nvm (https://github.com/nvm-sh/nvm) or fnm (https://github.com/Schniz/fnm). fnm is nice because it does not lag shell startup as much as nvm. these latter two options may be better for dev than production, just since it is mostly installed to your local environment
-
How to improve startup time?
Related to this, I have been using fnm as a drop-in replacement for nvm for years, possibly 44x times faster but can't vouch for the benchmark :)
-
Why my ZSH take too much time to load?
I agree with trying to lazyload these libs. Another helpful tip is I switched from nvm to fnm maybe half a dozen years ago and it is so much faster, I even alias nvm="fnm" and I am not someone that switches to rust things because "rust".
-
Introduction to Execution Machine (EXM) - Permanent Serverless Functions
Node.js installed on your machine. I recommend installing Node.js either via NVM or FNM
-
Asdf – the language tool version manager
This looks really promising. I love seeing these tools written in languages other than the thing they're targeting.
As an example I use fnm (https://github.com/Schniz/fnm) for managing JavaScript versions. It runs so fast (compared to nvm) I'm inclined to think something went wrong and it silently failed, but it never does!
-
Language Version Managers - the Developer Parachutes
In the Node world, there are a few options like NVM, N, FNM, Volta, and more. I've been a longtime user of NVM, so we'll detail those instructions for use here:
nodenv
-
Is there a project level way to specify nvm versions and avoid nvm use?
https://github.com/nodenv/nodenv can automatically symlink to the version you need. Or https://github.com/asdf-vm/asdf that does the same thing.
-
Projen - External Project Types
I will not cover this here. A good option is nodenv. For the purposes of this excersie you need to be on node 14.x - 16.x (not 12.x or 17.x).
- Volta
What are some alternatives?
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
volta - Volta: JS Toolchains as Code. ⚡
nvm for Windows - A node.js version management utility for Windows. Ironically written in Go.
nodeenv - Virtual environment for Node.js & integrator with virtualenv
n - Node version management
asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
asdf-nodejs - Node.js plugin for asdf version manager
nvs - Node Version Switcher - A cross-platform tool for switching between versions and forks of Node.js
snm - 🤏 Smol and simple node version manager written in rust 🦀