← Package directory
Available on winget

Install OfficeCLI

The first and best command-line tool purpose-built for AI agents to read, edit, and automate Word, Excel, and PowerPoint files. Free, open-source, single binary, no Office installation required.

Install with winget
winget install --id HaiYing.OfficeCLI
Upgrade
winget upgrade --id HaiYing.OfficeCLI
Uninstall
winget uninstall --id HaiYing.OfficeCLI

About OfficeCLI

Why OfficeCLI? What used to take 50 lines of Python and 3 separate libraries: from pptx import Presentation from pptx.util import Inches, Pt prs = Presentation() slide = prs.slides.add_slide(prs.slide_layouts[0]) title = slide.shapes.title title.text = "Q4 Report" # ... 45 more lines ... prs.save('deck.pptx') Now takes one command: officecli add deck.pptx / --type slide --prop title="Q4 Report" What OfficeCLI can do: - Create documents from scratch -- blank or with content - Read text, structure, styles, formulas -...

What's new in 1.0.143

What's Changed - fix(pptx): notes slides get the package relationships they require by @leomem in https://github.com/iOfficeAI/OfficeCLI/pull/265 - fix(cli): decode piped stdin as UTF-8 without mutating the console by @leomem in https://github.com/iOfficeAI/OfficeCLI/pull/264 - Preserve Excel drawing hyperlinks and grouped shapes during round-trip by @tjlstar in https://github.com/iOfficeAI/OfficeCLI/pull/266 New Contributors - @leomem made their first contribution in https://github.com/iOfficeAI/OfficeCLI/pull/265 - @tjlstar made their first contribution in https://github.com/iOfficeAI/OfficeCLI/pull/266 Full Changelog: https://github.com/iOfficeAI/OfficeCLI/compare/v1.0.142...v1.0.143

Read release notes

Version history

Version Updated Notes
1.0.143 Unknown What's Changed - fix(pptx): notes slides get the package relationships they require by @leomem in https://github.com/iOfficeAI/OfficeCLI/pull/265 - fix(cli): decode piped stdin as UTF-8 without mutating the console by @l...
1.0.142 Unknown What's Changed - fix(docx): keep read-only commands byte-preserving by @Hanxcellent in https://github.com/iOfficeAI/OfficeCLI/pull/256 Full Changelog: https://github.com/iOfficeAI/OfficeCLI/compare/v1.0.141...v1.0.142
1.0.141 Unknown Full Changelog: https://github.com/iOfficeAI/OfficeCLI/compare/v1.0.140...v1.0.141
1.0.140 Unknown What's Changed - fix(xlsx): round-trip in-cell images through dump by @Hanxcellent in https://github.com/iOfficeAI/OfficeCLI/pull/248 New Contributors - @Hanxcellent made their first contribution in https://github.com/iO...
1.0.139 Unknown Full Changelog: https://github.com/iOfficeAI/OfficeCLI/compare/v1.0.138...v1.0.139
1.0.137 Unknown Full Changelog: https://github.com/iOfficeAI/OfficeCLI/compare/v1.0.136...v1.0.137
1.0.136 Unknown What's Changed - fix(xlsx) Caching of formats, fonts, fills and borders on Excel rendering by @andulv in https://github.com/iOfficeAI/OfficeCLI/pull/190 - 修正 DOCX skill 的分页和 TOC 指引 by @eric8810 in https://github.com/iOff...
1.0.135 Unknown Full Changelog: https://github.com/iOfficeAI/OfficeCLI/compare/v1.0.134...v1.0.135
1.0.134 Unknown Full Changelog: https://github.com/iOfficeAI/OfficeCLI/compare/v1.0.133...v1.0.134
1.0.133 Unknown Full Changelog: https://github.com/iOfficeAI/OfficeCLI/compare/v1.0.132...v1.0.133
1.0.132 Unknown Full Changelog: https://github.com/iOfficeAI/OfficeCLI/compare/v1.0.131...v1.0.132
1.0.131 Unknown Full Changelog: https://github.com/iOfficeAI/OfficeCLI/compare/v1.0.130...v1.0.131
1.0.129 Unknown What's Changed - fix(pptx/xlsx/docx): notify watch SSE after resident batch edits by @sixtycat2000-ctrl in https://github.com/iOfficeAI/OfficeCLI/pull/170 New Contributors - @sixtycat2000-ctrl made their first contributi...
1.0.128 Unknown Full Changelog: https://github.com/iOfficeAI/OfficeCLI/compare/v1.0.127...v1.0.128
1.0.127 Unknown Full Changelog: https://github.com/iOfficeAI/OfficeCLI/compare/v1.0.126...v1.0.127
1.0.126 Unknown Full Changelog: https://github.com/iOfficeAI/OfficeCLI/compare/v1.0.125...v1.0.126
1.0.125 Unknown Full Changelog: https://github.com/iOfficeAI/OfficeCLI/compare/v1.0.124...v1.0.125
1.0.124 Unknown Full Changelog: https://github.com/iOfficeAI/OfficeCLI/compare/v1.0.123...v1.0.124
1.0.123 Unknown Full Changelog: https://github.com/iOfficeAI/OfficeCLI/compare/v1.0.122...v1.0.123
1.0.122 Unknown Full Changelog: https://github.com/iOfficeAI/OfficeCLI/compare/v1.0.121...v1.0.122