yarn add save package code example
Example 1: yarn save dev
yarn add <package...> [--dev/-D]
Example 2: yarn add --save-exact
yarn add <package...> [--exact/-E]
yarn add <package...> [--dev/-D]
yarn add <package...> [--exact/-E]