June 2019

Install package locally – npm

To install an npm package locally, use the npm install command with the name of the package you want. To install an npm package locally as a devDependency, add the --save-dev option.