Reworked InstallCli() method