Aug 11, 2013

"sencha: command not found" After Installing Sencha CMD on OS X

Open your .bash_profile file with nano :
nano ~/.bash_profile

If you see export path command for sencha cmd (it should be automatically created after installing sencha cmd) :
export PATH=sencha_cmd_path:$PATH
export SENCHA_CMD_3_x_x="sencha_cmd_path"

Close nano (^x) and you just need to run command :
source ~/.bash_profile

If you didn't see export command, just append bash_profile with command in step number 2. *your sencha cmd path will likely be in /Users/username/bin/Sencha/Cmd/3.x.x.xxx

No comments:

Post a Comment