Node.js—also known as
The Node.js installer includes the Node Package Manager (npm), which is used to manage the packages in a project.
npm installtakes all the dependencies listed in the
package.jsonfile and installs them in the
# Initialize a default package.json file and create a node_modules folder npm init -y # Install a local package npm install <package>