CLI Reference
clipctl is the command-line client for the daemon. It talks to clipd over
the Unix socket, so the daemon must be running.
Global options
| Option | Description | Default |
|---|---|---|
--socket | Path to the clipd socket | /tmp/clipd.sock |
--timeout | Request timeout | 5s |
--version | Print version information | |
-v | Verbose output |
If you started clipd with a custom --socket, pass the same path to clipctl.
Commands
list
Show the most recent entries, newest first.
search
Full-text search across your history.
get
Show a single entry by its ID, including its full content.
delete
Delete an entry by ID.
Warning
Deletion is permanent. There is no undo.
stats
Show statistics about your history: entry counts and database info.
help
Show usage for all commands, or one command in detail.
Troubleshooting
If every command fails with a connection error, check that:
- The daemon is running (
ps aux | grep clipd) - Both tools agree on the socket path (
--socketon each side) - The socket file exists and you own it (
ls -l /tmp/clipd.sock)