yarn package version install code example
Example 1: yarn add specific version
// for specific versions
yarn add [email protected]
Example 2: yarn add --save-exact
yarn add [--exact/-E]
// for specific versions
yarn add [email protected]
yarn add [--exact/-E]