Categories JavaScript Answers How to install only “devDependencies” using npm? Post author By John Au-Yeung Post date September 5, 2022 No Comments on How to install only “devDependencies” using npm? Spread the love To install only "devDependencies" using npm, we use the --only-dev option. To use it, we run npm install --only=dev to use the --only-dev option to only install dev dependencies. Related Posts How to install and run TypeScript locally in npm?Sometimes, we want to install and run TypeScript locally in npm. In this article, we'll… How to fix npm install not installing packages with docker-compose?Sometimes, we want to fix npm install not installing packages with docker-compose. In this article,… How to fix the JavaScript heap out of memory error when running npm install?Sometimes, we want to fix the JavaScript heap out of memory error when running npm… By John Au-Yeung Web developer specializing in React, Vue, and front end development. View Archive → ← How to install Node.js as windows service? → How to create a Express.js middleware that accepts parameters with JavaScript? Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment. Current ye@r * Leave this field empty