sencha:找不到命令

时间:2017-06-29 15:45:31

标签: extjs sencha-cmd

我已经使用终端安装了Sencha,但是如果从终端我无法运行

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

1 个答案:

答案 0 :(得分:4)

因为您没有设置环境变量。

  

如果运行sencha导致错误消息 sencha:command not   OSX / Linux上的 或“sencha”未被识别为内部或   Windows上的外部命令,可操作程序或批处理文件,请按照   这些步骤:......

这是官方指南:https://docs.sencha.com/cmd/guides/intro_to_cmd.html#intro_to_cmd_-_command_not_found

相关问题