Home Nodejs Install Nodejs Packages Using Ndm In Linux

Install Nodejs Packages Using Ndm In Linux

Ndm - A Desktop GUI Application For NPM

By sk
Published: Updated: 1.6K views

In this brief tutorial, we are going to discuss what is Ndm, how to install Ndm in Linux, and how to use Ndm to install Nodejs packages in Linux.

What is Ndm?

NPM, short for Node Package Manager, is a command line package manager for installing NodeJS packages, or modules. We already have have published a guide that described how to manage NodeJS packages using NPM. As you may noticed, managing NodeJS packages or modules using Npm is not a big deal. However, if you're not compatible with CLI-way, there is a desktop GUI application named Ndm which can be used for managing NodeJS applications/modules.

Ndm, stands for NPM Desktop Manager, is a free, open source graphical front-end for NPM that allows us to install, update, remove NodeJS packages via a simple graphical window.

Install Ndm in Linux

Ndm is available in AUR, so you can install it using any AUR helpers on Arch Linux and its derivatives like EndeavourOS and Manjaro Linux.

Using Yay:

$ yay -S ndm

Using Paru:

$ paru -S ndm

On RHEL based systems like CentOS, run the following command to install Ndm.

$ echo "[fury] name=Gemfury Private Repo baseurl=https://repo.fury.io/720kb/ enabled=1 gpgcheck=0" | sudo tee /etc/yum.repos.d/ndm.repo && sudo yum update && sudo yum install ndm 

On Debian, Ubuntu, Linux Mint:

$ echo "deb [trusted=yes] https://apt.fury.io/720kb/ /" | sudo tee /etc/apt/sources.list.d/ndm.list && sudo apt-get update && sudo apt-get install ndm 

Ndm can also be installed using Linuxbrew. First, install Linuxbrew as described in the following link.

After installing Linuxbrew, you can install Ndm using the following commands:

$ brew update
$ brew install ndm

On other Linux distributions, go to the NDM releases page, download the latest version, compile and install it yourself.

Install Nodejs Packages using Ndm in Linux

Launch Ndm either from the Menu or using application launcher. This is how Ndm's default interface looks like.

Ndm Desktop GUI for NPM
Ndm Desktop GUI for NPM

From here, you can install NodeJS packages/modules either locally or globally.

Install NodeJS Packages Locally

To install a package locally, first choose project directory by clicking on the "Add projects" button from the Home screen and select the directory where you want to keep your project files. For example, I have chosen a directory named "demo" as my project directory.

Click on the project directory (i.e demo) and then, click Add packages button.

Add Nodjes Package
Add Nodjes Package

Type the package name you want to install and hit the Install button.

Install Nodejs Package using Ndm
Install Nodejs Package using Ndm

Once installed, the packages will be listed under the project's directory. Simply click on the directory to view the list of installed packages locally.

List Installed Nodejs Packages
List Installed Nodejs Packages

Similarly, you can create separate project directories and install NodeJS modules in them. To view the list of installed modules on a project, click on the project directory, and you will the packages on the right side.

Install NodeJS Packages Globally

To install NodeJS packages globally, click on the Globals button on the left from the main interface. Then, click "Add packages" button, type the name of the package and hit "Install" button.

Manage Nodejs Packages

Click on any installed packages and you will see various options on the top, such as,

  1. Version (to view the installed version),
  2. Latest (to install latest available version),
  3. Update (to update the currently selected package),
  4. Uninstall (to remove the selected package) etc.
Manage Nodejs Packages using Ndm
Manage Nodejs Packages using Ndm

Ndm has two more options namely "Update npm" which is used to update the node package manager to latest available version, and Doctor that runs a set of checks to ensure that your npm installation has what it needs to manage your packages/modules.


Ndm makes the process of installing, updating, removing NodeJS packages easier! You don't need to memorize the commands to perform those tasks. Ndm lets us to do them all with a few mouse clicks via simple graphical window. For those who are lazy to type commands, Ndm is perfect companion to manage NodeJS packages.


You May Also Like

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More