pasteboard - pbcopy and pbpaste for windows.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.



Your favourite OSX command line clipboard manipulation libraries pbcopy and pbpasteported over to Windows.

  • pbcopy copies the standard input and places it in the specified pasteboard.
  • pbpaste copies the data from the pasteboard and writes it to the standard output.


Installation is done via Chocolatey:

# cinst pasteboard


To copy your SSH key to the clipboard:

# cd .ssh
# type | pbcopy

To write the contents of your clipboard to a file:

# cd C:\tmp
# pbpaste > output.txt

With thanks to