diff --git a/src/packages.js b/src/packages.js index 7bd6d8cb..df123f0b 100644 --- a/src/packages.js +++ b/src/packages.js @@ -342,11 +342,13 @@ export default class Packages { * @param {string} url URL to package * @param {options} [options] * @param {boolean} [options.system] Install as system package + * @param {string} [options.root] Root installation path */ install(url, options = {}) { const body = { url, options: Object.assign({}, { + root: 'home:/.packages', system: false }, options) };