Switch Sencha Cmd Versions Any Time.

​Sometimes it is handy and necessary to change the Sencha Cmd version without having to play around with your path and hand-juggle multiple versions.

Here are some simple steps to check which version is running, see which versions you have installed and finally a step to actually change the currently running version.

​Scotts-MacBook-Pro-2016:​scottsalisbury$ sencha switch --list
Sencha Cmd 6.5.2.15
Looking for versions at: /Users/scottsalisbury/bin/Sencha/Cmd
 
Current version
   6.5.2.15
 
Newest version installed
   6.6.0.13
 
Locally available versions
   6.5.0.180
   6.1.2.15
   6.2.0.103
   6.0.2.14
   6.0.1.76
   6.5.1.240
   6.5.3.6
   6.2.1.29
   6.5.2.15
   6.1.3.42
   6.6.0.13
Scotts-MacBook-Pro-2016:​scottsalisbury$

​Scotts-MacBook-Pro-2016:​scottsalisbury$ sencha switch 6.0.1.76
Sencha Cmd 6.0.1.76
 
Successfully switched to version 6.0.1.76.
Run 'sencha help' to see the available commands on this version.
Scotts-MacBook-Pro-2016:​ scottsalisbury$

About the Author Scott Salisbury

Scott is the creator of Motivated Code Pro and the Managing Partner of Pinch Hitter Solutions, Inc. Motivated Code Pro is devoted to helping developers build better software careers. Pinch Hitter Solutions (phs4j.com) is a consultancy focused on mobile app development and enterprise web work. Scott works primarily in Java and JavaScript and focuses on Spring and Ext JS.

Leave a Comment: