#First install the plugin: heroku plugins:install heroku-builds #Then use the following command to clear the cache: heroku builds:cache:purge -a example-app