# install_extra_command

> **Function** in `deepagents_code`

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

Return the shell command that adds `extra` to the installed dcode tool.

The documented install path is `uv tool install` (see
`scripts/install.sh`), so extras must be preserved across reinstalls.
Single-quoting the bracket form keeps zsh from globbing it.

## 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 and
for execution via `perform_install_extra`.

---

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