1499
return cliBin;
1500
}
1502
>
reportProgress(localize('sshProgressDownloadingCLI', "Installing VS Code CLI on remote..."));
1503
>
const url = buildCLIDownloadUrl(platform.os, platform.arch, this._quality);
1504
>
1505
>
const installCmd = [
1506
>
`mkdir -p ${installRoot}`,
1507
>
`curl -fsSL ${shellEscape(url)} | tar xz -C ${installRoot}`,
1508
>
`chmod +x ${cliBin}`,
1509
>
].join(' && ');
1510
>
1511
>
await sshExec(client, installCmd);
1512
>
this._logService.info(`${LOG_PREFIX} Installed remote CLI at ${cliBin}`);
1513
>
return cliBin;
1514
}
1515