Package Manager
Oct 19, 2020
NPM
NPM is a Node package manager for JavaScript programming language. It allows us to use and share the code with other developers. We need to install Node.js for using NPM.
Package.json
It has information about the app (manifest file — > contains metadata). It is created by the command
npm init
Commands
To check the version of NPM
npm -v
or npm --version
Yarn
Yarn is a package manager for Javascript. We need to install Node.js for using NPM.
Install via Chocolatey
Once we have Chocolatey installed, need to run the below command.
choco install yarn
Install via Scoop
Once we have Scoop installed, need to run the below command.
Scoop install yarn