Unfortunately, no changing permissions for my El Capitan will allow cf to access the config.json file in the .cf folder. I created a new folder in my home space ("CLI") and ensured the correct permissions and set CF_HOME to point to "~ / CLI /". Just creating a new CF_HOME folder and setting CF_HOME in my .bash.profile was not enough. Then I copied the contents of the .cf folder to the new CLI folder. Finally! cf works!
Oh, that is interesting. CF in this version of OSX will be launched only from the home directory, it will not be launched (it will not find config.json) from nothing but root.
source share