Skip to content

Clean cache

The cfsutil ai clean-cache command clears cached files that cfsutil ai has downloaded from remote URLs.

cfsutil ai automatically caches remote files (such as model files provided by a URL) so they can be reused consistently and when offline. If the remote file is accessible, the cache will refresh automatically after one hour to keep model files up to date.

cfsutil ai clean-cache [--format text|json]

Use cfsutil ai clean-cache to:

  • Save local disk space by removing cached files.
  • Force cfsutil ai to re-download a remote model instead of using the cached copy.
cfsutil ai clean-cache

Output in JSON format

cfsutil ai clean-cache --format json