Wingetlywingetly
← All apps
O

OfficeCLI

by Hying Technology Co., Ltd.v1.0.98

Last updated

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 --exact --version 1.0.98

Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.

Built by Pckgr

For Intune admins

Stop chasing app updates. Pckgr patches them for you.

Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.

Start free 30-day trial

No credit card required.

About

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 -- in plain text or structured JSON

- Analyze formatting issues, style inconsistencies, and structural problems

- Modify any element -- text, fonts, colors, layout, formulas, charts, images

- Reorganize content -- add, remove, move, copy elements across documents

| Format | Read | Modify | Create |

| ------------------ | ---- | ------ | ------ |

| Word (.docx) | ✅ | ✅ | ✅ |

| Excel (.xlsx) | ✅ | ✅ | ✅ |

| PowerPoint (.pptx) | ✅ | ✅ | ✅ |

Word — paragraphs, runs, tables, styles, headers/footers, images, equations, comments, footnotes, watermarks, bookmarks, TOC, charts, hyperlinks, sections, form fields, content controls (SDT), fields, document properties

Excel — cells, formulas (150+ built-in functions with auto-evaluation), sheets, tables, conditional formatting, charts, pivot tables, named ranges, data validation, images, sparklines, comments, autofilter, shapes, CSV/TSV import, $Sheet:A1 cell addressing

PowerPoint — slides, shapes, images, tables, charts, animations, morph transitions, 3D models (.glb), slide zoom, equations, themes, connectors, video/audio, groups, notes, placeholders

Use Cases

For Developers:

- Automate report generation from databases or APIs

- Batch-process documents (bulk find/replace, style updates)

- Build document pipelines in CI/CD environments (generate docs from test results)

- Headless Office automation in Docker/containerized environments

For AI Agents:

- Generate presentations from user prompts (see examples above)

- Extract structured data from documents to JSON

- Validate and check document quality before delivery

For Teams:

- Clone document templates and populate with data

- Automated document validation in CI/CD pipelines

Installers · v1.0.98

ArchitectureTypeScopeInstallDownload
x64Portable-Direct
arm64Portable-Direct

Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.

Security

No known CVEs for OfficeCLI.

Coverage is best-effort and depends on a winget package mapping to an NVD CPE entry. Absence here is not a guarantee of safety.

Related apps

  • O
    OfficeCLIHying Technology Co., Ltd.
    iOfficeAI.OfficeCLIv1.0.149

    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.

  • LibreOfficeThe Document Foundation
    TheDocumentFoundation.LibreOfficev26.8.0.3

    LibreOffice is a free and powerful office suite, and a successor to OpenOffice.org (commonly known as OpenOffice). Its clean interface and feature-rich tools help you unleash your creativity and enhance your productivity.

  • Office Deployment ToolMicrosoft Corporation
    Microsoft.OfficeDeploymentToolv16.0.20326.20112

    A command-line tool that you can use to download and deploy Click-to-Run versions of Office, such as Microsoft 365 Apps for enterprise, to your client computers.

  • DingTalkAlibaba (China) Network Technology Co.,Ltd.
    Alibaba.DingTalkv8.3.10-Release.260413002

    DingTalk, make work and study easy

  • Hanword HWP document converter for Microsoft WordMicrosoft Corporation
    Microsoft.HwpConverterv15.0.4454.1506

    Hanword HWP document converter for Microsoft Word is a tool which allows you to convert and open HWP files in Word as DOCX files.

  • Microsoft 365 Apps for enterpriseMicrosoft Corporation
    Microsoft.Officev16.0.20228.20124

    The most productive and most secure Office experience for enterprises, allowing your teams to work together seamlessly from anywhere, anytime.

More from Hying Technology Co., Ltd. or browse docx, excel, office.

Frequently asked questions

How do I install OfficeCLI on Windows?
Open Windows Terminal, PowerShell, or Command Prompt and run: winget install --id HaiYing.OfficeCLI --exact --version 1.0.98. winget downloads the installer from Hying Technology Co., Ltd. and runs it. Requires Windows 10 (1809+) or Windows 11.
How do I install OfficeCLI silently for unattended deployment?
Add --silent and accept the agreements upfront: winget install --id HaiYing.OfficeCLI --exact 1.0.98 --silent --accept-package-agreements --accept-source-agreements. This is the variant Intune, Configuration Manager, and other deployment tools should use.
How do I uninstall OfficeCLI via winget?
Run: winget uninstall --id HaiYing.OfficeCLI --exact. Add --silent for unattended uninstalls. winget will use the registered uninstaller from OfficeCLI's Apps & Features entry.
Is OfficeCLI free?
OfficeCLI is distributed under Apache-2.0. Refer to the publisher (https://github.com/iOfficeAI/OfficeCLI) for the full license terms - Wingetly itself does not charge for installation.
Does OfficeCLI work on Windows 10?
Yes, as long as your Windows 10 build supports winget (1809 or newer). winget ships with App Installer on Windows 10/11 and pulls OfficeCLI directly from the publisher.
How do I keep OfficeCLI up to date?
Run winget upgrade --id HaiYing.OfficeCLI --exact, or winget upgrade --all to update everything winget tracks. We index 1 version of OfficeCLI from microsoft/winget-pkgs.