In order to use the CLI you need to provide an authorization token. As of today these tokens are provided by BatchX.
Java ≥ 8 (Required)
Check if Java is installed
To verify you have Java installed type:
java -version in the console.
If the output returns a message similar to the one bellow you are all set (make sure version is at least
$ java -version
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1ubuntu1~18.04.1-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)
If your get a
-bash: java: command not found message you have to install Java.
Installing java differs from one operative system to the other. Please search for the appropriate instructions based on your operative system type and version, and make sure to install the most recent version available.
Once installed, type again
java -version to verify the output is as expected.
Check if Docker is installed
Docker is only required for image creation.
To test if Docker is installed type:
docker --version in the console.
$ docker --version
Docker version 19.03.4, build 9013bf583a
If the output returns a message similar to the one above you are OK.
Follow the official Docker instructions in order to install it.