# cmd_installer

Install a binary with default settings (to /usr/local/bin, adds to PATH).

```rhai
cmd_installer(binary_path: &str) -> String
```

## Examples

```rhai
download("https://example.com/tool.tar.gz", "/tmp", 1000);
cmd_installer("/tmp/tool/bin/mytool")?;
```

```rhai
cmd_installer("/tmp/go/bin/go")?;
print("Go installed to /usr/local/bin/go");
```
