The Holistics CLI tool provides a convenient command-line interface for interacting with Holistics services. This tool allows developers and analysts to streamline workflows by integrating Holistics capabilities directly into their development environment and automation pipelines.
Note: If you're using MacOS 12x (Monterey), please see the section How to run the code via Node
curl -fsSL https://raw.githubusercontent.com/holistics/holistics-cli/refs/heads/master/install.sh | bash
Please refer to the Holistics CLI Documentation for more information.
The Holistics CLI is built as a lightweight NodeJS wrapper around the @holistics/cli-core
package, which contains the core functionality. The wrapper has two main responsibilities:
-
Package Management
- On startup, it automatically downloads the latest version of
@holistics/cli-core
from the npm registry - The package is cached locally in
.cache/holistics
for future use
- On startup, it automatically downloads the latest version of
-
Command Execution
- Once the core package is loaded, it invokes the
@holistics/cli-core
for the actual command execution - This enables commands like:
auth
: Authentication and user managementdbt
: dbt project operationsaml
: Analytics Modeling Language features
- Once the core package is loaded, it invokes the
- The cli-app is bundled via bun 1.2.10. Executable files are in the Releases section.
- It is possible to check out the code and run it via Node (see below)
You need to have NodeJS installed on your machine (version v18 or higher)
Check out the code and install dependencies
git clone https://github.com/holistics/holistics-cli.git
cd holistics-cli
npm i
Run the CLI
npm run cli --help