How do you install PECL?

How do you install PECL? Does it get installed as part of a PEAR install? That is, do you get PECL when you install PEAR?

I’d like to run:

     pecl install Xdebug

but I don’t have the pecl command available and don’t know how to get it. All I’ve been able to find is information on how to install PECL extensions (like Xdebug), but I can’t find anything that talks about how to install PECL itself.

Please advise.

Thanks,
Randie

It uses the pear package manager. You probably have it, but maybe you need to cd into the installation path.

http://pear.php.net/manual/en/installation.getting.php