1. Installation
Download the latest release and select the asset for your operation system. Also, you can add the location to your es-cli in the environment path to make the CLI available globally if you want.2. Help options
If you don’t want to go to the documentation every time you are using new commands, you can use the help option to see available commands and options3. Authentication
Before you can call any of the commands you must first authenticate. You do that using thelogin command.
This will open a browser window where you can sign in with your Enterspeed credentials.
It’s also possible to authenticate using an API key. This is especially useful if you are using the CLI in a pipeline context like CI/CD.
4. Setting the right tenant
After authenticating the first thing you must do, is to make sure you are working on the right tenant. To get a list of all available tenants, use the following command. After that, you can set the tenant using the id from the list.5. Cloning schemas from Enterspeed to your local machine
Now that we have authenticated and selected the right tenant we can start working with the schemas. Theschema clone command will clone all the schemas from your tenant to your local machine so you can start working with your schemas locally.

6. Saving a schema
Now open up one of your schemas, make a change to the schema and save it. Once you save the schema in your editor, note that the schema is only saved on your local machine. To save the new changes to your schema in Enterspeed you use theschema save which takes the alias of the schema as an argument, in this case product.