Back to tools
Release binary

Private PDF tools in your terminal.

One command surface for DocShift workflows, scriptable from your shell, a Makefile, or CI. POSIX-friendly flags, predictable exit codes, JSON output where useful, and no telemetry. Every command supports --help.

Copy and install

Pick your installer
macOS/Linux script
Installs the npm package.
$ curl -fsSL https://docshift.tonycletus.com/install.sh | sh

Verify the install

$ docshift version
$ docshift doctor

Global commands

Usage
$ docshift doctor
Flags
--verbosePrint every check, not just failures.
--jsonPrint the result as JSON.
Example
$ docshift doctor --verbose
Usage:
  docshift doctor

Checks version, temp directory, and write access.

Command reference

CLI command names mirror the web tool slugs, so scripts stay easy to remember. The same examples are included in the npm package README for users installing from npm.

Usage
$ docshift merge <file...> -o combined.pdf
Flags
<files...>Two or more PDFs to merge.
-o, --output <path>Write the result to a file or directory.
--jsonEmit a machine-readable summary where supported.
-q, --quietSuppress non-error output.
-h, --helpShow help for this command.
Example
$ docshift merge a.pdf b.pdf -o combined.pdf
Usage:
  docshift merge <file...> -o combined.pdf

Combine multiple PDFs into one document.

Flags:
  <files...>                   Two or more PDFs to merge.
  -o, --output <path>          Write the result to a file or directory.
  --json                       Emit a machine-readable summary where supported.
  -q, --quiet                  Suppress non-error output.
  -h, --help                   Show help for this command.

Example:
  docshift merge a.pdf b.pdf -o combined.pdf
Source layout

The CLI lives under packages/cli and is released from GitHub Actions. See GitHub Releases for binaries and checksums.