As indicated on the official cocos3d website:
After downloading, unzip the file and follow the instructions in the README document to run the install-cocos3d script from an OSX terminal session. Since cocos3d is built on top of cocos2d, you will also need to download the latest version of cocos2d before running the setup script.
John parker
source share