# Remove all cached files.
$ wp cli cache clear
Success: Cache cleared.
# Remove all cached files except for the newest version of each one.
$ wp cli cache prune
Success: Cache pruned.
Command documentation is regenerated at every release. To add or update an example, please submit a pull request against the corresponding part of the codebase.