# 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/caaa7e7c12d214afa5cf0a1afed8eb6232aa6f7b/libs/code/deepagents_code/managed_tools.py#L317)