# package_list

List installed packages.

```rhai
package_list() -> Array
```

## Examples

```rhai
let packages = package_list()?;
print(`${packages.len()} packages installed`);
```

```rhai
let packages = package_list()?;
for pkg in packages {
    print(pkg);
}
```
