MiniPdf.Cli
0.18.2
dotnet tool install --global MiniPdf.Cli --version 0.18.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local MiniPdf.Cli --version 0.18.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=MiniPdf.Cli&version=0.18.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package MiniPdf.Cli --version 0.18.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MiniPdf CLI
A command-line tool to convert Excel (.xlsx) and Word (.docx) files to PDF.
Powered by MiniPdf — zero-dependency, pure .NET.
Install
dotnet tool install --global MiniPdf.Cli
Usage
# Convert Excel to PDF (output: data.pdf)
minipdf data.xlsx
# Convert Word to PDF
minipdf report.docx
# Specify output path
minipdf report.docx -o /path/to/output.pdf
# Register custom fonts (for containers / Blazor WASM)
minipdf report.docx --fonts ./Fonts
Commands
| Command | Description |
|---|---|
minipdf <file> |
Convert .xlsx / .docx to PDF |
minipdf convert <file> -o <out> |
Convert with explicit output path |
minipdf --version |
Show version |
minipdf --help |
Show help |
Features
- No COM, no Office installation, no LibreOffice — runs anywhere .NET runs
- Single command, zero config
- Custom font registration for headless / container environments
- Apache 2.0 licensed — free for commercial use
Links
- Library package: MiniPdf on NuGet
- Source code: https://github.com/shps951023/MiniPdf
- License: Apache-2.0
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.