# dependency_refresh_dry_run_command

> **Function** in `deepagents_code`

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

Return the uv command that plans a dependency refresh without installing.

## Signature

```python
dependency_refresh_dry_run_command(
    *,
    version: str = __version__,
    include_prereleases: bool | None = None,
    distribution_name: str = 'deepagents-code',
    python: str | None = None,
) -> str
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `version` | `str` | No | Exact `deepagents-code` version to keep installed. (default: `__version__`) |
| `include_prereleases` | `bool \| None` | No | Whether to include alpha/beta/rc releases. When `None`, follows the installed version's channel. (default: `None`) |
| `distribution_name` | `str` | No | Name of the installed distribution to inspect for already-installed extras and uv receipt requirements. (default: `'deepagents-code'`) |
| `python` | `str \| None` | No | Python executable for the target environment. Defaults to the running interpreter, which is the current dcode tool environment. (default: `None`) |

## Returns

`str`

Shell command string suitable for execution via the shell.

---

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