AptLynx

Command-line tool

cpdf

brew/cpdf

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

PDF Command-line Tools

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

winget install --id CoherentGraphics.Cpdf -e

macOS

brew install cpdf

Linux

brew install cpdf

Select pages 1, 2, 3, and 6 from a source document and write those to a destination document

cpdf path/to/source_document.pdf 1-3,6 -o path/to/destination_document.pdf

Merge two documents into a new one

cpdf -merge path/to/source_document_one.pdf path/to/source_document_two.pdf -o path/to/destination_document.pdf

Show the bookmarks of a document

cpdf -list-bookmarks path/to/document.pdf

Browse

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents