yarn update dev dependency code example Example: yarn add to dev dependencies yarn add --dev <PACKAGE_NAME>