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