Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

npm install production

# This will install only dependencies , and not devDependencies , 
# regardless of the value of the NODE_ENV environment variable.
npm install --omit=dev

npm install --only=prod 
 
PREVIOUS NEXT
Tagged: #npm #install #production
ADD COMMENT
Topic
Name
7+2 =