code: function installThemeDeps(root, options) {
    if (options.skipInstall) {
      console.log('Skipping theme dependency installation...');
      return Promise.resolve();
    }
  
    const prevDir = process.cwd();
  
    console.log('Installing theme dependencies...');
    process.chdir(root);
  
    const cmd = utils.shouldUseYarn()
      ? utils.spawn('yarnpkg')
      : utils.spawn('npm install');
  
    return cmd.then(() => process.chdir(prevDir));
  }
docs: Executes `npm install` or `yarn install` in rootPath.