Skip to content

Setup & Configuration

Installation

Install globally from npm:

bash
npm install -g vantmetry-cli

Then use the vant command:

bash
vant help

Initial Configuration

Before querying, configure your ingestor URL and secret key:

bash
vant config production

You'll be prompted for:

  • API URL: e.g., https://ingestor.vantmetry.com:4433
  • Secret Key: Your project's secret key (starts with vsk_)

Configuration File

Config is saved to ~/.vantmetry/config.json. Supported locations:

  • macOS: /Users/username/.vantmetry/config.json
  • Linux: /home/username/.vantmetry/config.json
  • Windows: C:\Users\username\.vantmetry\config.json

The config file stores your API URL and secret key. You can view your current configuration:

bash
vant env