Step 1: Unzip the Ext JS Trial zip file

Unpack the downloaded zip file and open the folder.

Step 2: Install Sencha Cmd CLI

‘Sencha Cmd’ is the command line tool to create Ext JS applications.

  • For MacOS: Right-click and open the .app file unzipped in the previous step. If you see the following message, click ‘Open’ and continue. The app is safe to use.

macOS

  • For Linux: Right-click and open the .sh file and proceed with the installation steps.
  • For Windows: Right-click to open the .exe file. If you see the following message, select “More Info” and click “Run anyway”. The app is safe to use.

Getting Started with zip - 图2 Getting Started with zip - 图3

Installation proceeds and the following window appears: Click Next>

installation step 1

Select ‘I accept’ and click Next>

installation step 2

Select the destination directory and click Next>

installation step 3

Select wich components you want to install and click Next> or click <Back to change your settings.

installation step 4

Select Yes if you want to perform additional steps and click Next>

installation step 5

Once installation process completes, click Finish.

installation step 6

installation step 7

You are now ready to start creating your first Ext JS Application

Step 3: Open and Explore your new Ext JS Application

  • Start your terminal/command window
  • Change directory to a folder where you want to create a new application:

    cd <folder-to-create-the-app>

If you are a TRIAL customer

The Ext JS 30-day trial packages are available to install from Sencha CDN. Install the latest Ext JS Trial version using the following command. --ext will force CMD to download the sdk from our cdn.

  • Generate the application:

    sencha generate app --ext MyApp ./MyApp

If you are an ACTIVE customer

Ext JS and all related commercial packages are hosted on Support Portal. Login to the portal using your credentials and download the desired SDK zip file.

  • Download the desired SDK zip file.
  • Generate the application:

    sencha -sdk /path/to/downloaded/sdk generate app modern MyApp ./MyApp

Now open and explore your application

  • Navigate to the new application folder:

    cd MyApp

  • Run the Application: sencha app watch

Sencha command will build your application. Once complete, the command window will log the following message:

Waiting for changes...

  • Run the application in a browser. Open any browser window and view the application at http://localhost:1841/

Congratulations! You have now successfully built an application using Ext JS!

Next Steps:

Now that you are on a successful path to building Ext JS applications, take some time to explore how to enhance your apps using hundreds of UI components, design, testing and debugging tools.