Member-only story

How to download and install a npm package globally in Node.js?

Ckmobile
4 min readJan 10, 2021

--

In the previous article, we already learn how to use core modules, such as ‘fs’ module to work with the file system.If we want to use some additional packages for extra features in node that are not available in the node core, such as lodash, axios or moment.

Full Course:

Or even some kind of framework for building node websites like Express.

We can install them by using NPM, the node package manager.

NPM is automatically installed onto your computer when you install node and

it is a tool that we can use to install, update or remove node packages onto our

--

--

Ckmobile
Ckmobile

Written by Ckmobile

Teaching JavasScript, React, React Native, MongoDB and NodeJS https://linktr.ee/ckmobile

No responses yet