🎉 HTTL 0.1.7 is released, now we have CLI. Read more →
Skip to Content
CLIGetting Started

HTTL CLI

Starting from version 0.1.7, HTTL provides a command-line interface (CLI) that allows you to run HTTL queries from the terminal. HTTL CLI is a great way to run HTTL queries in a CI/CD pipeline or to integrate them into your existing automation scripts.

HTTL CLI supports all the features of the HTTL language and also provides formatted and colorized terminal output


CLI Example

Installation

HTTL CLI is available as a global package on npm. You need to have Node.js version 16.14 or later.

To install the CLI, run the following command:

npm install httl-cli -g

Usage

There are two ways to run an HTTL query from the terminal:

Last updated on