Install once. Use the same command in your scripts.
Install the tool from NuGet with the .NET SDK, then inspect the available commands:
dotnet tool install --global OfficeIMO.Tool
officeimo --version
officeimo help
For a repository-pinned installation, use a .NET tool manifest and commit it with your project. Update a global installation with dotnet tool update --global OfficeIMO.Tool.
Start with a document
Convert a Word document to PDF:
officeimo convert report.docx report.pdf
Extract document content as Markdown:
officeimo convert report.pdf report.md
Discover the format handlers available in your installed version:
officeimo reader capabilities
Conversion refuses to replace an existing destination unless you explicitly pass --force. Output formats have different fidelity boundaries: Markdown is a semantic projection, while PDF preserves a fixed page layout.
More than conversion
The command areas cover document reading, tabular extraction, HTML/PDF workflows, provenance inspection, PDF redaction, page-image export, document assembly, and print planning. The same executable offers bounded agent operations and an MCP server over standard input/output.
officeimo mcp serve --stdio
Use the command guide for supported arguments and optional dependencies. OCR requires an explicitly configured provider; the default tool does not include an OCR runtime or model. Studio features are not automatically CLI commands.