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