Here it is also shown how to install an editor for the lua code, it is not essential but it can be useful since you start to make your drivers.
If you only want to install the CLI you can go to point 8, but read the tutorials first.
When you have the CLI installed, tell me to guide you in your specific case