Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use ndm

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "how to use ndm". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to use ndm.

NPM is an acronym for Node Package Manager (node package Manager), which is the command line package manager used to install NodeJS packages or modules. We released a guide describing how to use NPM to manage NodeJS packages [1]. You may have noticed that using Npm to manage NodeJS packages or modules is not a big problem. However, if you are not used to CLI, there is a desktop GUI program called NDM, which can be used to manage NodeJS programs / modules. NDM, which stands for NPM Desktop Manager (npm Desktop Manager), is the free and open source graphics front end of NPM, which allows us to install, update, and delete NodeJS packages through a simple graphical desktop.

Install NDM

NDM is available in AUR, so you can use any AUR helper installation on ArchLinux and its derivatives (such as Antergos and ManjaroLinux).

Use Pacaur [2]:

$pacaur-Sndm

Use Packer [3]:

$packer-Sndm

Use Trizen [4]:

$trizen-Sndm

Use Yay [5]:

$yay-Sndm

Use Yaourt [6]:

$yaourt-Sndm

On RHEL-based systems such as CentOS, run the following command to install NDM.

$echo "[fury] name=ndmrepositorybaseurl= https://repo.fury.io/720kb/enabled=1gpgcheck=0"|sudotee/etc/yum.repos.d/ndm.repo&&sudoyumupdate&&

NDM usage

Start NDM from the menu or using the application launcher. This is the default interface for NDM.

Here you can install NodeJS packages / modules locally or globally.

Install the NodeJS package locally

To install the package locally, first select the project directory by clicking the Addprojects button on the home screen, and then select the directory where you want to keep the project files. For example, I chose a directory called "demo" as my project directory.

Click the project directory, that is, demo, and then click the Addpackages button.

Thank you for your reading, the above is the content of "how to use ndm", after the study of this article, I believe you have a deeper understanding of how to use ndm, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report