Install Pear Macbook Pro Yosemite

PEAR is a popular PHP package manager, it doesn’t come by default on OSX, how to install PEAR on OSX 10.9 Mavericks and earlier versions of OSX.

Check if you have it

If not, move into:

Get it

if you are denied permission try it with sudo

Install It

Click yes a couple of times during the install


Add PEAR to your PATH



That’s PEAR installed and ready.

To upgrade PEAR
To upgrade PEAR packages either name the package name after the command or to upgrade all just run