Caching
Viewing your repo's cache
trunk cacheCleaning cache
trunk cache prunetrunk cache clean --alltrunk installLast updated
Trunk hermetically manages all the tools that it runs. To do this, it will download and install them into its cache folder only when needed. On Linux and macOS you may find the cache folder at $HOME/.cache/trunk.
If you need to debug your repo's cache, you can find its location by running the cache command.
trunk cacheTrunk will automatically clean up downloads that have not been used in a while, such as old versions of tools and linters.
If you want to manually prune files in your cache directory that are no longer needed, you can run this command:
trunk cache pruneIf you need to clean your entire cache manually, you can use the command:
trunk cache clean --allRemember to rerun the install command to reinstall the necessary tools and linters.
trunk installLast updated

