News

Fast Node Manager

Published
Fast Node Manager image

Last week I started noticing that my terminal took a long time to start up (multiple seconds) when I opened a new terminal session. I use ZSH with the excellent oh-my-zsh and decided to hunt down the culprit.

During my research, I ran into a post by Jacek Bzdak titled How to debug zsh startup time and found out that NVM seemed to be the culprit.

There are a few articles on running NVM in a lazy fashion but didn’t seem to help me. I decided to see if there were any viable alternatives to NVM and landed on Fast Node Manager (FNM) .

According to the project’s readme, FNM is:

Fast and simple Node.js version management, built-in native ReasonML.

While I don’t think FNM does 100% of the things NVM does, it’s feature set is enough for my use-case of switching between multiple versions of Node on my machine, and doesn’t suffer from the same slow startup times.

On top of being faster in my experience so far, FMN has a bonus of working with .nvmrc and .node-version files, which means you can use existing NVM setup!

While I’ve only used FNM for a little over a week, the speed and reliability have been good thus far in my experience!

You can learn more about this package, get full installation instructions, and view the source code on GitHub at Schniz/fnm.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Filed in

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
Laravel Rulebook: Business Rules That Change by Date image

Laravel Rulebook: Business Rules That Change by Date

Read article
Taylor disabled GitHub Issues on most Laravel open-source packages. image

Taylor disabled GitHub Issues on most Laravel open-source packages.

Read article
Exclude Vendor and Default Commands in `php artisan dev` image

Exclude Vendor and Default Commands in `php artisan dev`

Read article
The Laracon Archive image

The Laracon Archive

Read article
Group Adjacent Collection Items in Laravel with chunkBy() image

Group Adjacent Collection Items in Laravel with chunkBy()

Read article
Laravel queue:work Now Prints Why the Worker Stopped image

Laravel queue:work Now Prints Why the Worker Stopped

Read article