# Devenv 2.2: attach to running processes and persistent out-of-tree environments

DevFeed: [Devenv 2.2: attach to running processes and persistent out-of-tree environments](<https://devfeed.tech/articles/devenv-2-2-attach-to-running-processes-and-persistent-out-of-tree-environments-31347.md>)

Original publisher: [Read original article](<https://discourse.nixos.org/t/devenv-2-2-attach-to-running-processes-and-persistent-out-of-tree-environments/79228>)

Author: domenkozar

Published: 2026-07-29T13:54:52Z

Content type: release

Language: en

Sources: [Announcements - NixOS Discourse](<https://devfeed.tech/sources/announcements-nixos-discourse.md>)

Topics: [Processes](<https://devfeed.tech/topics/processes.md>), [Text-based user interface](<https://devfeed.tech/topics/tui.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [Automation](<https://devfeed.tech/topics/automation.md>), [Cache](<https://devfeed.tech/topics/cache.md>)

Tags: [announcements](<https://devfeed.tech/tags/announcements.md>), [automation](<https://devfeed.tech/tags/automation.md>), [cache](<https://devfeed.tech/tags/cache.md>), [processes](<https://devfeed.tech/tags/processes.md>), [terminal](<https://devfeed.tech/tags/terminal.md>)

## AI overview

Devenv 2.2 adds the ability to attach to an existing process manager from another terminal, with status, ports, recent logs, and live updates. The release also includes persistent local and remote environments, shell activation improvements, SecretSpec and Cachix integration, lower idle CPU usage in the TUI, evaluation cache and automation improvements, and bug fixes.

## Source excerpt

devenv 2.2 is here. You can now run devenv up -d in another terminal and in another devenv processes atttach to the existing process manager, with current status, ports, recent logs, and live updates. Other highlights: Persistent local and remote --from environments with devenv allow More reliable shell activation SecretSpec 0.17 and Cachix integration Near-zero idle CPU usage in the TUI Evaluation cache and automation improvements And many bugfixes! devenv.sh devenv 2.2: attach to running processes and persistent out-of-tree... Fast, Declarative, Reproducible, and Composable Developer Environments using Nix Disclaimer: LLMs have been used 1 post - 1 participant Read full topic