# download_install

Download and install a binary (preferred method).

```rhai
download_install(url: &str, min_size_kb: i64) -> String
```

## Examples

```rhai
download_install("https://example.com/mytool", 1000)?;
print("Tool installed to ~/hero/bin/");
```

```rhai
// Install with size check (at least 100KB)
download_install("https://github.com/user/tool/releases/download/v1.0/tool", 100)?;
```
