Shell/Bash: npm dev dependencies Example

By

Shell/Bash Example: This is the "npm dev dependencies" Example. compiled from many sources on the internet by SimpleTutorials.org

npm dev dependencies

# install as devDependency
npm install  --save-dev

# install as normal dependency
npm install  --save

# install all devDependencies listed in package.json
npm install --only=dev

# install all normal dependencies listed in package.json
npm install --only=prod
# or if NODE_ENV is set to production
npm install

npm install dev dependencies only

npm i -D

npm install dev dependencies

npm install  --save-dev

npm install in dev mode

npm install packageName --save-dev

npm install and add to dependancies

npm i packageName -save



* Summary: This "npm dev dependencies" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others