# ripgrep_installer

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/managed_tools/ripgrep_installer)

Return the configured ripgrep installer mode.

Reads `RIPGREP_INSTALLER` and normalizes it to `INSTALLER_MANAGED` or
`INSTALLER_SYSTEM`, falling back to `INSTALLER_MANAGED` for unset or
unrecognized values. The `strip().lower()` normalization must stay in
sync with the `case` block in `scripts/install.sh` so both layers agree
on the parsed mode.

## Signature

```python
ripgrep_installer() -> RipgrepInstaller
```

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e14e0adcbe78565ed3650e7f24b2a775d5437d25/libs/code/deepagents_code/managed_tools.py#L180)