install method
Install dart/dcli
Implementation
Future<bool> install({bool installDart = false, bool activate = true}) async {
var installed = false;
if (core.Settings().isLinux) {
installed = await LinuxDCliInstaller().install(installDart: installDart);
} else {
installed = MacOSDCliInstaller().install(installDart: installDart);
}
// DartProject.self.compile(install: true, overwrite: true);
// addFileAssocation(binPath);
// if (isCompletionSupported) {
// if (!isCompletionInstalled) {
// installTabCompletion();
// }
// }
// if (isPrivilegedUser) {
// _symlinkDCli(dcliPath);
// }
return installed;
}