# install_extra_command

> **Function** in `deepagents_code`

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

Return the install-script command that adds `extra` to dcode.

The promoted install path is the install script (see `scripts/install.sh`).
This helper is display-only and avoids uv receipt introspection so
unsupported installs can surface method-specific guidance before any uv
receipt is read. Already-detected extras from distribution metadata are
included when available, so following the command does not drop them.

## Signature

```python
install_extra_command(
    extra: str,
    *,
    distribution_name: str = 'deepagents-code',
) -> str
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `extra` | `str` | Yes | The extra name (e.g. `'quickjs'`, `'daytona'`, `'fireworks'`). Validated internally against PEP 508 grammar before interpolation into the shell command. |
| `distribution_name` | `str` | No | Name of the installed distribution to inspect for already-installed extras. (default: `'deepagents-code'`) |

## Returns

`str`

Shell command string suitable for display in error messages.

---

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