change your directory to Magento root then execute this command php -r 'require "app/Mage.php"; Mage::app()->getCacheInstance()->flush();' Tags magento magento1 cli