What is NPM and How to use it

If you are a good developer, which you’re you might have read about npm or npm packages etc. In this article, we’ll be talking about npm that is short form of Node.js Package Manager

So what is npm ?

npm is one of the largest software registery like Github, having more than 800,000 code packages. It is used by developers to share software code.

npm is free

Ofcourse, you can download all the public softwares packages by using the CLI. Now CLI stands for Command line Interface. In windows, you call it Command Prompt . Here is how it looks like :

C:\>npm install <package>

npm‘ is not recognized as internal or external command

nodejs and npm

When you try the above method through command prompt, you’ll see the above error. To use npm commands, you need to install node.js on your computer. Once you have downloaded node.js and installed it, you can install npm packages on your computer.

Add a Comment

Your email address will not be published. Required fields are marked *