Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Chapter 02 - Igniting our App/Theory/Session 2 Theory.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

## Q: What is `NPM`?
A: It is a tool used for package management and the default package manager for Node projects. `NPM is installed when NodeJS` is installed on a machine. It comes with a command-line interface (CLI) used to interact with the online database of NPM. This database is called the NPM Registry, and it hosts public and private 'packages.' To add or update packages, we use the NPM CLI to interact with this database.

It is the default package manager for Node.js, and it is used to:
-Install libraries (called packages or modules)
-Manage their versions
-Run scripts (like npm start, npm run build, etc.)


- `npm` alternative is `yarn`

### How to initialize `npm`?
Expand Down