I downloaded the the cocos html5 v3.0 alpha .zip file from the official site, when i setup it, the console outputed as:
Setting up cocos2d-x...
-> Adding COCOS2D_CONSOLE_ROOT environment variable... ALREADY ADDED
-> Looking for NDK_ROOT envrironment variable... FOUND
-> Looking for ANDROID_SDK_ROOT envrironment variable... FOUND
-> Looking for ANT_ROOT envrironment variable... FOUND
COCOS_CONSOLE_ROOT was already added. Edit "/Users/long/.bash_profile" for manual changes
Please execute command: "source /Users/long/.bash_profile" to make added system variables take effect
After i executed the command: "source /Users/long/.bash_profile", i think the cocos command is ok, but i get the following error:
longtekiMacBook-Pro:Cocos2d-JS-v3.0-alpha long$ cocos
-bash: cocos: command not found
Did i miss something important?