Home

Awesome

npm npm version

Installation

Sitecore CDP serializer requires Node.js version 14 or above. To install, run the following commands from any directory in your terminal:

npm install sitecore-cdp-serializer -g

When using the CLI in a CI environment we recommend installing it locally as a development dependency, instead of globally. To install locally, run the following command from the root directory of your project:

npx install --save-dev sitecore-cdp-serializer

Important: Running npm install sitecore-cdp-serializer -g in CI means you're always installing the latest version of the tool, including breaking changes. When you install locally and use a lock file you guarantee reproducible builds.


💡 Note

Now supports Cloud Portal and new API Keys functionality in Sitecore Personalize:


<br />

Commands

api

Run Sitecore CDP/Personalize API's.

deploy

Commands to pick up local artifacts and deploy to a Sitecore CDP/Personalize tenant.