Install and Configure the Custom Chart CLI
Before installing Composer's custom chart CLI, verify that
Node.js version 10 or later and
npm version 5.6 or later are installed on your machine.
To install and configure the custom chart CLI:
Install the custom chart CLI by running the following:
$ npm install composer-chart-cli@<x> -g
After installation, you can configure the default environment that is used by the custom chart 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:
$ cmp-chart config
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.
- After installing, you can create new visuals or make updates to current custom charts.
6, the version of the custom chart CLI you are installing.
Composer v7.10 and later works with the new version of the Composer CLI tool, version 1 (
composer-chart-cli). This new version of the CLI tool enables you to manage custom charts in your Composer v7.10 and later environment. Familiar commands and locations have changed: commands that use
zd now use
cmp, and that use
zoomdata now use