reattach-to-user-namespace
« Back to VersTracker
Description:
Reattach process (e.g., tmux) to background
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: System utilities
Tags: tmux macos clipboard terminal utility
Install: brew install reattach-to-user-namespace
About:
ReattachToUserNamespace is a helper utility that enables tmux and other terminal multiplexers to interact with the macOS pasteboard system. It solves the problem where background sessions cannot access the user's graphical clipboard by reattaching a process to the per-user OS X namespace. This allows for seamless copy and paste functionality between terminal applications running inside tmux and native Mac GUI applications.
Key Features:
  • Enables clipboard access for tmux sessions on macOS
  • Lightweight and simple to use
  • Solves a core limitation of terminal multiplexers on OS X
  • Provides a bridge between background processes and the user session
Use Cases:
  • Using copy/paste (pbcopy/pbpaste) from within a tmux session
  • Running long-lived processes that need clipboard access
  • Integrating with scripts that require GUI interaction from terminal
Alternatives:
Version History
Detected Version Rev Change Commit