upgrading

Mon, 06/20/2011 - 09:52

Using the new command line tool 'mage' replacement for pear in Magento

Submitted by markoshust Mon, 06/20/2011 - 09:52

Magento had a great command line tool built into it's software build called 'pear' that was located in the root folder of Magento installations. Well... it's still there, it has just been renamed 'mage' and comes with different commands to update modules, the core, etc.

Your first step in using 'mage' is to set the proper permissions to make it executable by the executing user. This can be done with chmod from the root of your Magento install:

chmod 550 mage

Then, to run it, just type ./mage in shell. You will be presented with a list of arguments to pass to it: