Getting Started
Install
curl -fsSL https://mathpix.com/mpx-cli/install.sh | sh
The script detects your OS and CPU, downloads the matching release, verifies its checksum, installs
a version with
mpx to ~/.local/bin, and puts it on your PATH. Override the location with MPX_INSTALL_DIR; pina version with
MPX_VERSION.Set your credentials
mpx configure
This prompts for your credentials, endpoint and default output, and stores them under
Configuration for profiles and environment variables.
~/.mpx. SeeConfiguration for profiles and environment variables.
Convert your first document
mpx scs convert paper.pdf paper.mmd
The output path’s extension picks the format, so ask for Word, LaTeX, or HTML the same way:
mpx scs convert paper.pdf paper.docx
mpx scs convert paper.pdf paper.tex.zip
A whole folder at once, with
--map deciding which inputs become which formats:mpx scs convert ./scans/ ./out/ --map pdf:docx,md:docx
That is the whole loop: install, configure, convert. The scs service page documents every
command and option.
command and option.