yarn add package@^2.0.0
Category: Node.js & npm/yarn
yarn add package@^2.0.0
Add a package with a specific semver range to package.json
Adds a package with a specific semver range. The ^ means 'compatible with 2.x.x' — any minor or patch update is allowed.