yarn install all peer dependencies code example Example: install dev dependency yarn yarn add nameOfPackage --dev