
A PDF processor written in Go.
View the Project on GitHub pdfcpu/pdfcpu
Download a prebuilt binary for your platform and run pdfcpu version to verify installation.
Extract the archive.
Run:
pdfcpu version
Optional: move the binary to a directory in your PATH:
sudo mv pdfcpu /usr/local/bin/
Install the CLI tool:
go install github.com/pdfcpu/pdfcpu/cmd/pdfcpu@latest
pdfcpu version
brew install pdfcpu
pdfcpu version
sudo port install pdfcpu
pdfcpu version
sudo dnf install golang-github-pdfcpu
pdfcpu version
docker build -t pdfcpu .
docker run -it -v "$(pwd)":/app pdfcpu validate a.pdf