Skip to content

Instantly share code, notes, and snippets.

@savelee
Last active August 9, 2021 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save savelee/1bdc983377278def9c97f43ae759a7d0 to your computer and use it in GitHub Desktop.
Save savelee/1bdc983377278def9c97f43ae759a7d0 to your computer and use it in GitHub Desktop.
How to switch Sencha Cmd versions from the command-line?
> sencha switch --list
//This gives the following output, depending on which versions you have installed on your machine:
Sencha Cmd 6.1.3.16
Looking for versions at: /Users/leeboonstra/bin/Sencha/Cmd
Current version
6.1.3.16
Newest version installed
6.1.3.16
Locally available versions
4.0.1.45
5.1.3.61
6.0.2.14
6.0.3.40
6.0.3.56
6.1.0.23
6.1.0.42
6.1.1.76
6.1.2.9
6.1.3.16
//Now switch it:
sencha switch 6.1.0.23
// And voila! It outputs:
Sencha Cmd 6.1.0.23
Successfully switched to version 6.1.0.23.
Run 'sencha help' to see the available commands on this version.
@Konstantin-CM
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment