Check out the PEAR Manual: http://pear.php.net/manual/en/.
Install PEAR: http://pear.php.net/manual/en/guide.users.commandline.cli.php.
$ pear help install
Show Config: http://pear.php.net/manual/en/guide.users.commandline.config.php.
$ pear config-show
Installing Packages: http://pear.php.net/manual/en/guide.users.commandline.installing.php.
/* the gist of it */ $ pear install foo Ignoring installed package pear/foo Nothing to install
Getting information about packages: http://pear.php.net/manual/en/guide.users.commandline.packageinfo.php.
Packages
http://pear.php.net/manual/en/packages.php


