installing npm without dev dependency code example Example: npm install without dev dependencies npm install --only=prod