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 zoomdata-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:
$ zd-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.
where <x>
is either 4
or 5
, depending on the version of the custom chart CLI you are installing.
Comments
0 comments
Please sign in to leave a comment.