New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

office-addin-cache

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

office-addin-cache

Clear the Office Add-in cache folders.

latest
Source
npmnpm
Version
2.0.1
Version published
Weekly downloads
306
-47.6%
Maintainers
3
Weekly downloads
 
Created
Source

office-addin-cache

This package clears the Office Add-in cache folders on the user's computer. It supports Windows and macOS. It doesn't clear the browser cache.

Usage

office-addin-cache clear [options]

Options

OptionDescription
--force-closeClose all running Microsoft Office applications without prompting.
--verboseReport the path of each folder being emptied.

Cache folders cleared

Windows

LabelPath
WEF%LOCALAPPDATA%\Microsoft\Office\16.0\Wef
WebView Cache%USERPROFILE%\AppData\Local\Packages\Microsoft.Win32WebViewHost_cw5n1h2txyewy
Outlook Hub App Cache%USERPROFILE%\AppData\Local\Microsoft\Outlook\HubAppFileCache

macOS

LabelPath
OsfWebHost~/Library/Containers/com.Microsoft.OsfWebHost/Data

Office application behavior

If Office applications are running when the command is invoked, the tool will list them and offer to force-close them. If --force-close is specified, they will be closed automatically without a prompt. If the applications cannot be closed, the tool will exit without clearing the cache.

Keywords

Office

FAQs

Package last updated on 23 Sep 2026

Related posts