To clear your Magento cache through command line you can use these commands, run these via the root directory. rm -rf var/cache/* rm -rf var/session/* php shell/indexer.php --reindexall