Skip to content
GitHub

bino cache clean

bino cache clean removes cached data created by previous runs. Use it when schema changes, data locations change, or caches get too large.

Bino uses two cache directories:

  • Local cache (.bncache/) – project-specific dataset results, stored in the workdir.
  • Global cache (~/.bn/) – shared resources like preview CDN files and DuckDB extensions.
bino cache clean [flags]

Common flags:

  • --work-dir, -w – workdir whose local cache (.bncache/) should be removed (default: .).
  • --global – also remove the global cache (~/.bn/).

Remove caches for the current workdir only:

bino cache clean

Remove all caches (local and global):

bino cache clean --global

Clearing caches may increase build time for the next run but can fix issues caused by stale intermediate data.