nvm VS lerna

Compare nvm vs lerna and see what are their differences.

nvm

Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions (by nvm-sh)

lerna

:dragon: Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository. (by lerna)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
nvm lerna
312 162
74,916 35,291
2.0% 0.3%
7.8 9.1
11 days ago 5 days ago
Shell TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

nvm

Posts with mentions or reviews of nvm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-20.
  • Write a schema only absolutely no code backend server with Node.js and Teo!
    3 projects | dev.to | 20 Feb 2024
    Install Node.js if it hasn't been installed. There are several ways to install Node.js. You may download the installer from the official website, or install it with tools like NVM. After installation, run this command to verify its installation.
  • AI for Web Devs: Deploying Your AI App to Production
    6 projects | dev.to | 7 Feb 2024
    Our server also needs Node.js to run our app. We could install the binary directly, but I prefer to use a tool called NVM, which allows us to easily manage Node versions. We can install it with this command:
  • How To Set Up Your Coding Environment
    3 projects | dev.to | 6 Feb 2024
    By setting up your environment in isolation, you can prevent yourself from a lot of issues when experimenting with code. It makes your code behave more predictable due to the defined state of the runtime environment you are working with. This article should provide you with enough information to get started, but obviously, there is a lot more power embedded in NVM, Virtual Environment and RBEnv. So make sure to check their documentation.
  • Effective nodejs version management for the busy developer
    3 projects | dev.to | 4 Feb 2024
    I highly recommend setting up nodejs with a version manager, nvm was and still is a popular option, however, I now recommend and have been using fnm, a simpler and faster alternative to manage my nodejs versions.
  • A Journey to Find an Ultimate Development Environment
    13 projects | dev.to | 2 Feb 2024
    The purpose of a version manager is to help you navigate or install any tools for development easily. Version Manager can be one tool for each dependency (e.g. NVM, g) or One tool for all dependencies (e.g. asdf, mise).
  • NVM – Node Version Management
    2 projects | dev.to | 31 Jan 2024
    I usually develop on Windows so I installed NVM for Windows from here, but if you’re on other OS I’m sure you can find a version that supports it, probably this is the answer.
  • Configurar Solana en Linux
    4 projects | dev.to | 18 Dec 2023
  • Supercharge your Windows Development: The Ultimate Guide to WSL 🚀📟
    5 projects | dev.to | 21 Nov 2023
    in order to install Node on your Linux environment. Next up is NVM. I suggest going to https://github.com/nvm-sh/nvm and getting the latest install script from there. The current download is:
  • A Guide To Self-Hosting Web Apps On Ubuntu Servers
    4 projects | dev.to | 10 Nov 2023
    You can find the script to install nvm on their GitHub repository.
  • Implementing auth flow as fast as possible using NestJS
    5 projects | dev.to | 23 Oct 2023
    For those who don´t know, NVM is a great tool that is going to help you to switch between node versions smoothly, this tool is beneficial especially when you work with many projects and maybe one or two will require you to use a specific version. GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active…

lerna

Posts with mentions or reviews of lerna. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-28.
  • Add Step-up Authentication Using Angular and NestJS
    4 projects | dev.to | 28 Mar 2024
    Open the project up in your favorite IDE. Let's take a quick look at the project organization. The project has an Angular frontend and NestJS API backend housed in a Lerna monorepo. If you are curious about how to recreate the project, check out the repo's README file. I'll include all the npx commands, CLI commands, and the manual steps used to create the project.
  • Things I learned while building projects with NX
    5 projects | dev.to | 18 Mar 2024
    Lerna currently maintained by Nx team
  • tsParticles 3.0.0 is out. Breaking changes ahead.
    3 projects | dev.to | 4 Dec 2023
  • Nx 16.8 Release!!!
    5 projects | dev.to | 6 Sep 2023
    On Netlify's enterprise tier, approximately 46% of builds are monorepos, with the majority leveraging Nx and Lerna. Recognizing this trend, Netlify has focused on enhancing the setup and deployment experiences for monorepo projects. In particular they worked on an "automatic monorepo detection" feature. When you connect your project to GitHub, Netlify automatically detects if it's part of a monorepo, reads the relevant settings, and pre-configures your project. This eliminates the need for manual setup. This feature also extends to local development via the Netlify CLI.
  • Mocha/Chai with TypeScript (2023 update)
    3 projects | dev.to | 12 Aug 2023
  • Help with library implementation in a big webapp
    2 projects | /r/webdev | 26 Jun 2023
    This is the exact problem monorepos were born to solve. Not only will a monorepo let you share UI components, you'll be able to gradually add shared application logic as well (for instance, do all of your apps have their own logic for connecting to a database? you could roll that into a shared library with a monorepo). There are a lot of tools for accomplishing this in JS, but probably the most popular is lerna, which is built on top of NX (though lots of teams roll their own monorepo in nx without lerna, which IMO is a totally valid option).
  • How to Build and Publish Your First React NPM Package
    8 projects | dev.to | 9 Jun 2023
    To begin, you need to prepare your environment. A few ways to build a React package include tools like Bit, Storybook, Lerna, and TSDX. However, for this tutorial, you will use a zero-configuration bundler for tiny modules called Microbundle.
  • Utility for making sure that I'm using the right `@types/react`
    2 projects | /r/typescript | 5 Jun 2023
    If so, are you using a monorepo tool like Nx or Lerna? If not, start there and see if it solves your problem.
  • [AskJS] Is there a silver bullet for consuming Typescript libraries in a Monorepo?
    5 projects | /r/javascript | 9 May 2023
    I mean I don't know what your monorepo looks like, but for example infernojs (actually written with typescript) uses lerna, and lerna seems simpler than typescript references
  • Understanding npm Versioning
    3 projects | dev.to | 4 Apr 2023
    Tools for publishing, such as Lerna (when using the --conventional-commit flag), follow this convention when incrementing package versions and generating changelog files.

What are some alternatives?

When comparing nvm and lerna you can also consider the following projects:

turborepo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turborepo and Turbopack. [Moved to: https://github.com/vercel/turbo]

nvs - Node Version Switcher - A cross-platform tool for switching between versions and forks of Node.js

fnm - 🚀 Fast and simple Node.js version manager, built in Rust

nx - Smart Monorepos · Fast CI

asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more

changesets - 🦋 A way to manage your versioning and changelogs with a focus on monorepos

corepack - Zero-runtime-dependency package acting as bridge between Node projects and their package managers

volta - Volta: JS Toolchains as Code. ⚡

SDKMan - The SDKMAN! Command Line Interface

pnpm - Fast, disk space efficient package manager

bun - Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.