# 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

- `_InstallConfirmScreen`

## 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/1425cf0b7c5e88bff8735778af82cf5c90564085/libs/code/deepagents_code/tui/widgets/install_confirm.py#L105)