npm install --save --dev code example Example: how to install as dev dependency npm install <package-name> --save-dev