Skip to main content

Usage

facets cache clear

What it does

Deletes the entire global facet cache at ~/.cache/facets/ (or $XDG_CACHE_HOME/facets/ if the XDG environment variable is set).

What it affects

AffectedDetails
Cache directory~/.cache/facets/ is deleted entirely

What it doesn’t affect

Not affectedDetails
facets.yamlYour project’s dependency declarations remain intact
facets.lockLock file entries are preserved
Installed resourcesFiles already installed in .opencode/ are untouched

When to use

  • To free disk space from cached facets you no longer use
  • To force a fresh download of all remote facets on next facets add or facets update
  • To troubleshoot issues with corrupted cache data