Access the system clipboard (copy/paste) - cross-platform
Supports: macOS, Windows, Linux, OpenBSD, FreeBSD, Android with Termux.
npm install --global clipboard-cli
clipboard --help
Example
$ echo 🦄 | clipboard
$ clipboard
🦄
Run it with $ cb
instead by adding alias cb=clipboard
to your .zshrc
/.bashrc
.
- clipboardy - API for this module