Clipboard is a free, open-source command-line clipboard manager that brings cut, copy, and paste to the terminal. Running as the short command cb, it handles text, files, directories, and binary content using the same actions a graphical desktop provides, including multiple named clipboards and persistent storage. Users invoke it from Bash, Zsh, PowerShell, or any shell, and pipe data in or out with ordinary shell syntax. It ships on Windows, Linux, macOS, and BSD systems, and connects to the native graphical clipboard on supported desktops. The project targets developers and system administrators who move files and text between terminals and remote sessions.
The tool stores entries locally, supports unlimited history, and lets users select a specific clipboard by appending a number to any action, such as cb copy69. Persistent clipboards, marked with an underscore, survive reboots and follow the XDG specification for their storage location. A remote feature shares copied text across SSH sessions using OSC 52, provided the terminal supports it. Because it is a small compiled binary, the utility carries no runtime dependencies and starts instantly. Administrators managing cloud file workflows might also use Autodesk Desktop Connector for CAD assets, though this tool targets shell users rather than design teams.
Benefits of Using Clipboard
This utility makes file and text transfer in the terminal as simple as a single cb copy or cb paste, which removes the temporary directories and manual path memorization that normally clutter shell workflows. Because it works the same way on Windows, Linux, macOS, and BSD, scripts and notes do not need platform-specific clipboard commands such as xclip, pbcopy, or clip. Unlimited history and named clipboards let users keep several items available at once and paste any of them by appending a number, while persistent clipboards survive reboots for anything that needs to stay available. The remote sharing feature moves copied text across SSH sessions, which is useful when working on a server where the local clipboard is out of reach. Search, edit, note, and regex-based removal actions extend the tool beyond simple copy and paste, and native GUI integration means the terminal and desktop share the same data. The binary is tiny and dependency-free.
Comments