"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const install_1 = require("../api/install");
/**
 * Perform installation.
 * @example
 *     installCmd([ 'lodash', 'foo' ], { silent: true })
 */
function installCmd(input, opts) {
    if (!input || !input.length) {
        return install_1.install(opts);
    }
    return install_1.installPkgs(input, opts);
}
exports.default = installCmd;
//# sourceMappingURL=install.js.map