This is an old revision of the document!
Using the Sencha Command to Rebuild Optimized JS code
Get the Sencha Command
-
Select under the Installers without JRE Included the LINUX 64-BIT link and download the latest installer.
As the link states, you have to install a JRE on your system for the JRE to work correct.
Install a JRE on Ubuntu 20.04
sudo apt install default-jre
Install the Sencha Command
unzip SenchaCmd-7.4.0.39-linux-64-no-jre.zip
#This is the output
#Archive: SenchaCmd-7.4.0.39-linux-64-no-jre.zip
# inflating: SenchaCmd-7.4.0.39-linux-amd64.sh
./SenchaCmd-7.4.0.39-linux-amd64.sh
Depending if you are on a system with some desktop (like Xfe) or without one, the installer will ask you some questions about the install. Just select the defaults to complete the install.
After the install, you should be able to run the Sencha command
sencha help