UP TO DATE
- Download the GREENSPECTOR Command Line tool (choose the executable adapted to your operating system) in the Modules page of your GREENSPECTOR instance.
- Put it anywhere on your computer.
- Add the path of the folder containing the executable file to the system environment variable
PATH
. - Rename the executable file to gspt.exe (for Windows) or to gspt (for Linux)
- For Linux, make the file executable:
$ chmod +x gspt
- Open a terminal and type the command:
Linux
$ gspt
Windows
gspt.exe
- The command should print the help message.
You can also install the CLI on your continous integration server if you want to use the CLI as the module to launch GREENSPECTOR measurements from your CI.
Related articles