---
title: "devlanes attach"
url: https://devlanes.run/docs/reference/cli/attach/
description: "Attach this terminal to a unit's terminal; C-a d detaches."
updated: 2026-11-16T02:09:32.000Z
---

# devlanes attach

<!-- Generated from the clap definitions in crates/cli by crates/cli/tests/it/reference_docs.rs. Edit the help text in crates/cli, then run DEVLANES_BLESS=1 cargo nextest run -p devlanes-cli -E 'test(cli_reference_is_current)'. -->

```text
devlanes attach [OPTIONS] [UNIT]
```

- `[UNIT]`: Unit to attach to ([lane:]unit) [default: pick from a list].

Every command also takes the [global options](/docs/reference/cli/#global-options).
