Difficulty: Beginner
Estimated Time: 10 minutes

The objective of this scenario is to show you how to use mabl command line interface (cli) tool to execute a set of tests that are hosted in mabl.

This scenario is divided into the following steps:

  • Step 1: Installing the CLI
  • Step 2: Creating a Test in mabl
  • Step 3: Defining an Environment in mabl
  • Step 4: Executing Tests in an Environment

Congratulations! You've created a trial account under mabl.

Using the mabl CLI (Under Construction)

Step 1 of 4

Step 1 - Installing the CLI

In this step you're going to install the mabl command line interface tool (mabl cli) in to the Katacoda interactive learning environment.

Step 1: Install the tool using npm.

Execute the following command:

npm i -g @mablhq/mabl-cli

You'll see the following upon completion of the installation process:

 ┌──────────────────────────────────────────────┐
 │         Welcome to the mabl CLI tool!        │
 └──────────────────────────────────────────────┘
 By using this product you agree to the terms of
 use described in the License.txt file and the
 terms of service at: https://www.mabl.com/tos

Step 2: Confirm the installation is succesful

The way to confirm that the installation is successful is to check the current version number of the cli tool.

Execute the following command:

mabl --version

You'll get results similar to the following. (The actual version number may vary according to when you are doing this exercise.)

0.5.2-beta

Congratulations! You've completed these steps successfully.

For more in-depth details about the mabl CLI go here.