# InstallPackageConfirmScreen

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/tui/widgets/install_confirm/InstallPackageConfirmScreen)

Confirmation overlay for installing an arbitrary `--package`.

Dismisses with `True` when the user confirms and `False` when the user
cancels. Esc is treated as cancel so the user is never forced into an
install they did not explicitly choose.

## Signature

```python
InstallPackageConfirmScreen(
    self,
    package: str,
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `package` | `str` | Yes | The package name to install, surfaced in the body. |

## Extends

- `ModalScreen[bool]`

## Constructors

```python
__init__(
    self,
    package: str,
) -> None
```

| Name | Type |
|------|------|
| `package` | `str` |


## Properties

- `BINDINGS`
- `CSS`

## Methods

- [`compose()`](https://reference.langchain.com/python/deepagents-code/tui/widgets/install_confirm/InstallPackageConfirmScreen/compose)
- [`action_confirm()`](https://reference.langchain.com/python/deepagents-code/tui/widgets/install_confirm/InstallPackageConfirmScreen/action_confirm)
- [`action_cancel()`](https://reference.langchain.com/python/deepagents-code/tui/widgets/install_confirm/InstallPackageConfirmScreen/action_cancel)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/2f56309d821db4a0d06ee03959cf842c91b7f228/libs/code/deepagents_code/tui/widgets/install_confirm.py#L23)