Sencha Cmd:

Sencha Cmd is an ALM tools for Sencha applications. It is a cross-platform command-line tool which you can use to perform following ALM tasks.

Sencha Cmd Capabilities Description
Code Generation Tool Sencha Cmd can be used to generate application skeleton, model, view and controller class.
Web Server Sencha Cmd includes lightweight web server which can be used as a local web server in development.
Build and Deployment Sencha Cmd minifies and creates the build for your production environment and also deploy it to production.
Workspance Management Sencha Cmd helps in creating and maintaining workspance where you can share framework, packages or custom code between multiple applications.

Install Sencha Cmd:

Before you install Sencha Cmd, install Ruby to compile themes and applications from

Now, download and install the Sencha Cmd for the same version as your Ext JS framework. We will use Ext JS 6 so download and install Sencha Cmd 6 from here.

Once you install it, verify the installation by writing Sencha in the command line tool as shown below in Windows platform.

sencha cmd verification

Sencha Cmd Commands:

You can execute various commands in Sencha Cmd to execute different tasks. The following is command syntax.

    sencha [category] [command] [options...] [arguments...] 

Sencha includes following categoris of commands.

For example, the following command is used to generate Ext JS application skeleton.

    sencha -sdk pathToSenchaSDK generate app appName pathToAppFolder

You can also get the help on any module or action.

    sencha help [module] [action]

We will use Sencha Cmd in these tutorials to perform various tasks. Visit Sencha documentation for more information on Sencha Cmd.