Skip to content

sindresorhus/clipboard-cli

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

clipboard-cli

Access the system clipboard (copy/paste) - cross-platform

Supports: macOS, Windows, Linux, OpenBSD, FreeBSD, Android with Termux.

Install

npm install --global clipboard-cli

Usage

$ clipboard --help

  Example
    $ echo 🦄 | clipboard
    $ clipboard
    🦄

Tip

Run it with $ cb instead by adding alias cb=clipboard to your .zshrc/.bashrc.

Related