Buck: buck clean

buck clean

Deletes all files generated by Buck.

Buck keeps all of its deliverables and state in files, so deleting those files is guaranteed to reset Buck's state so that a "clean build" can be performed. The set of files where Buck stores its output may change over time, but buck clean will always remove the appropriate files for the current version.


  • --verbose (-v) How verbose logging to the console should be, with 1 as the minimum and 10 as the most verbose.
  • --keep-cache It does not remove the local (dir) caches.
  • --dry-run It prints a list of all the directories that would be removed if the command would run normally.