yarn install particular package version code example Example: yarn install specific version yarn set version <version>