Zoomdata Version

Installing and Configuring the Custom Chart Command Line Interface

Before installing the CLI, verify that Node.js is installed on your machine and that its version is 6.x or later.

To install and configure the custom chart CLI:

  1. Install the custom charts CLI by running the following:
    $ npm install -g  zoomdata-chart-cli
  2. After installation, you can configure the default environment that is used by the CLI. This makes creating and pushing custom charts easier, as you do not have to provide the server URL and credentials with every command. Run the following to start the configuration process:

    $ zd-chart-config
  3. Follow the prompts to store your default server configuration in an encrypted file. After the server configuration has been saved, the CLI checks for the presence of this file when you omit the server URL and credentials when running commands.

  4. After installing, you can create new charts or make updates to current custom charts.

Was this topic helpful?