To install pgfplots for OSX Yosemite?

Solution 1:

pgfplots is available as part of MacTeX:

enter image description here


To forcefully reinstall it from the command line, you can use

sudo tlmgr install --reinstall pgfplots