Reputation: 522
I've installed Sencha by using the Terminal but I can't run if from the Terminal
samuel@samuel-pc:~/Downloads$ sudo ./SenchaCmd-6.5.0.180-linux-i386.sh -q
Starting Installer ...
The installation directory has been set to /root/bin/Sencha/Cmd/6.5.0.180.
Extracting files ...
Finishing installation ...
samuel@samuel-pc:~/Downloads$ sencha
sencha: command not found
Upvotes: 2
Views: 8121
Reputation: 52666
Because you don't set environment variable.
If running sencha results in the error message sencha: command not found on OSX/Linux or 'sencha' is not recognized as an internal or external command, operable program or batch file on Windows, follow these steps: ...
This is official guide: https://docs.sencha.com/cmd/guides/intro_to_cmd.html#intro_to_cmd_-_command_not_found
Upvotes: 4