yarn addyarn add code example
Example 1: yarn add specific version
// for specific versions
yarn add package-name@1.2.3
Example 2: yarn add --save-exact
yarn add <package...> [--exact/-E]
// for specific versions
yarn add package-name@1.2.3
yarn add <package...> [--exact/-E]