diff --git a/src/OneClickInstall.ts b/src/OneClickInstall.ts index 0bbf4c5..a2c2a33 100644 --- a/src/OneClickInstall.ts +++ b/src/OneClickInstall.ts @@ -5,8 +5,7 @@ export default function executeKeployOneClickCommand(): void { const checkKeployExistsCommand = `keploy`; // The command to download and install Keploy - const installationCommand = `curl --show-error -L https://keploy.io/install.sh -o /tmp/install.sh && chmod +x /tmp/install.sh && source /tmp/install.sh -noRoot`; - + const installationCommand = `curl --silent -O -L https://keploy.io/install.sh -o /tmp/install.sh && chmod +x /tmp/install.sh && bash /tmp/install.sh -noRoot`; exec(checkKeployExistsCommand, (error, stdout, stderr) => { if (error) { // Execute the installation command @@ -20,4 +19,4 @@ export default function executeKeployOneClickCommand(): void { console.log(`Keploy is already installed: ${stdout}`); } }); -} \ No newline at end of file +}