I need to install sencha touch 2.1 on my mac but I can’t…
i follow this guide
http://www.sencha.com/learn/getting-started-with-sencha-touch-2
so i installed sencha cmd and i copy the sencha-sdk folder in the www/ directory of apache.. if i do:
localhost/sencha-skd
on my browser i see the docs of sencha, so the server works fine..
but from the terminal if I write the command
sencha
i get
-bash: sencha: command not found
and this happend in every folder…
somebody can help me?
thanks a lot
Download and install Sencha Cmd : http://www.sencha.com/products/sencha-cmd/download
Then ensure that the path for Sencha Cmd is in your
.bash_profile:export PATH=/path/to/Sencha/cmd/3.0.0.250:$PATH(it will be located in you your ‘bin’ directory)Save your
.bash_profileand restart Terminal.Edit:
You can also try adding the path to your
.bashrcas well. Then restart your terminal and try runningsenchaagain.Lastly to verify that Sencha Cmd is in your path do
echo $PATH.