Installation
Prerequisites
- Node.js 18.0.0 or higher
- npm, yarn, or pnpm
Install the CLI
Install the CLI globally using your preferred package manager:
bash
npm install -g @salesforce/b2c-clibash
pnpm add -g @salesforce/b2c-clibash
yarn global add @salesforce/b2c-cliVerify Installation
After installation, verify the CLI is available:
bash
b2c --versionInstall the SDK (Optional)
If you want to use the SDK library in your own projects:
bash
npm install @salesforce/b2c-tooling-sdkbash
pnpm add @salesforce/b2c-tooling-sdkbash
yarn add @salesforce/b2c-tooling-sdkNext Steps
- Configuration - Set up authentication and instance configuration