function runYarnBerry(deps, options = {}, exec) {
	const add = options.dev ? ['add', '--dev'] : ['add'];

	const remove = ['remove'];
	const args = (options.remove ? remove : add).concat(deps);

	return execCommand(exec, 'yarn', args, {
		stdio: options.stdio === undefined ? 'inherit' : options.stdio,
		cwd: options.cwd,
	});
}
Install or uninstall given Yarn@berry packages

@param {string[]} deps
@param {RunOptions} [options]
@param {Function} [exec]