Datastore CLI installation

Prerequisites

The following software must be installed or be available on your computer:

Install the CLI tools

To set up the Datastore command line interface (CLI) tool locally on your computer:

  1. After meeting the prerequisites (above), install the DXP Console CLI tool, which provides the base set of commands for all Squiz DXP products:

    npm install --global @squiz/dxp-cli
    If you experience EACCES permission errors when running this command, follow the recommendations in this troubleshooting article to resolve these issues.
  2. Install the Datastore CLI tool, which is installed as a plugin to the DXP Console CLI tool and provides all commands relevant to working with Datastore:

    dxp plugin add @squiz/dxp-plugin-datastore