docs: function Main() {
    const lerna = requireLerna();
    const useYarn = shouldUseYarn();
  
    if (!lerna) {
      if (useYarn) {
        logger.error(
          'Lerna cannot not be found. Please run `yarn --check-files`.'
        );
      } else {
        logger.error('Lerna cannot not be found.');
        logger.hint('Remove `node_modules` and run `npm install` again.');
      }
  
      process.exit(1);
    }
  
    const args = ['bootstrap'];
  
    if (useYarn) {
      args.push('--npm-client=yarn');
      // yarn doesn't support concurrency
      args.push('--concurrency=1');
    } else {
      // windows doesn't handle concurrency too well
      if (isWindows || !shouldUseNpmWithConcurrency()) {
        args.push('--concurrency=1');
      }
    }
  
    child = spawn(lerna, args, { stdio: 'inherit' });
    child.on('close', code => process.exit(code));
  }