Skip to content

Quick Start: CLI

Terminal window
brew tap raphaelmansuy/tap
brew install edgeparse

Verify:

Terminal window
edgeparse --version
Terminal window
cargo install edgeparse-cli

Download a platform binary from GitHub Releases, make it executable, and add it to your PATH:

Terminal window
# macOS arm64 example
curl -L https://github.com/raphaelmansuy/edgeparse/releases/latest/download/edgeparse-aarch64-apple-darwin.tar.gz | tar xz
chmod +x edgeparse
sudo mv edgeparse /usr/local/bin/
Terminal window
# Parse to JSON (output to stdout)
edgeparse document.pdf --format json
# Parse to Markdown (output to stdout)
edgeparse document.pdf -f markdown
# Save to output directory
edgeparse document.pdf -f markdown --output-dir results/
# Parse multiple files
edgeparse ./pdfs/*.pdf -f markdown --output-dir ./results/
# Enable hybrid mode
edgeparse document.pdf -f json --hybrid docling-fast
FlagOutput
--format json / -f jsonStructured JSON with full metadata
--format markdown / -f markdownClean Markdown with tables
--format html / -f htmlSemantic HTML
--format text / -f textPlain text (reading order)
FlagDescription
--output-dir <DIR> / -oWrite output files to directory
--format <FMT> / -fOutput format
--hybrid <BACKEND>Enable hybrid mode (docling-fast)
--pages <RANGE>Page range, e.g. 1-5