macOS / binaries /

pbcopy

/usr/bin/pbcopy
Provide copying and pasting to the pasteboard (the clipboard) from command line

pbcopy takes the standard input and places it in the specified pasteboard. If no pasteboard is specified, the general pasteboard will be used by default.

source: man