# prefers_system_ripgrep

> **Function** in `deepagents_code`

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

Return whether the user opted into the `system` ripgrep installer.

In `system` mode ripgrep is provisioned by the OS package manager or an
existing `PATH` entry rather than the managed download.

## Signature

```python
prefers_system_ripgrep() -> bool
```

---

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