OfficeCLI
AI document generation CLI for PPTX, DOCX, XLSX, reports, and images.

OfficeCLI turns natural-language prompts into editable Office files and standalone images from a terminal,
script, CI job, or local automation flow. Use one officecli binary to generate PPTX, DOCX, XLSX,
workbook-backed Report, and img outputs, with hosted trial access for first runs and External Mode
when you want to bring your own LLM endpoint.
Install in one command
npm is the recommended install path for most users:
npm install -g officecli
Verify the installed binary:
officecli --version
officecli auth status
Alternative install paths:
curl -fsSL https://raw.githubusercontent.com/officecli/officecli-dist/main/scripts/install-officecli.sh | bash
brew tap officecli/officecli
brew install officecli
Generate files from prompts
Hosted anonymous trial access is available by default, so the first run does not require a local model
endpoint or API key.
officecli new pptx "Q3 Business Review" --prompt "Create a six-slide executive deck for a SaaS quarterly business review. Cover growth, retention, risks, and next-quarter actions."
officecli new docx "Product Launch Brief" --prompt "Write a concise launch brief with audience, positioning, timeline, risks, and next steps."
officecli new xlsx "Sales Pipeline" --prompt "Create a sales pipeline workbook with stages, owners, deal values, probability, and next action columns."
officecli new report "Q2 Business Review" --file ./data/q2_metrics.xlsx --prompt "Summarize regional revenue shifts and the board-level decision points."
officecli new img "Launch Visual" --prompt "Create a polished product launch hero image for an enterprise collaboration platform." --ratio landscape --reference-image ./reference.png
Generated files are written to ./output by default. Use --out <dir> to choose another directory,
--json for machine-readable output, and --no-publish when you want local-only output. For PPTX,
OfficeCLI generates and embeds suitable images by default; use --no-images for a text-only deck.
What OfficeCLI is best for
| Search intent | OfficeCLI capability |
|---|
| AI PPTX generator | Create editable PowerPoint decks from prompts, with images by default and --no-images for text-only decks. |
| DOCX generator CLI | Draft editable Word documents for briefs, memos, proposals, and customer-facing documents. |
| XLSX automation | Generate workbooks, trackers, dashboards, and analysis sheets from structured prompts. |
| Report generation | Use an existing workbook as evidence and generate a readable workbook-backed report. |
| Image generation CLI | Generate standalone img outputs with --ratio square|landscape|portrait and optional reference images. |
| Local-first document automation | Run from a terminal, script, CI job, or agent workflow with one installable binary. |
Demo gallery
These checked-in demos show the visible result and the reproducible inputs together. Each demo includes
a preview image, generated artifact, prompt.md, metadata.json, and the command used to reproduce
the flow with a configured OfficeCLI runtime.