-1

I am developing a node.js (Nestjs) project & using Yarn instead of NPM for package management.

I have a simple question to ask, what is the command to force yarn to only install devDependencies ? I checked the document here, but can't figure out whether there is a option for it.

user842225
  • 5,445
  • 15
  • 69
  • 119

1 Answers1

0

To install the dev dependencies, you can run a command with "--dev" flag, following the example above:

yarn add {package name} --dev

Currently is not possible to install all dependencies separately.

Vitor Kevin
  • 785
  • 7
  • 16