b2c-code

Deploy and manage B2C Commerce code versions and cartridges via the b2c CLI.

51|16|Updated Oct 31, 2025
One-click install
npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: b2c-code
Source: https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/tree/main/skills/b2c-cli/skills/b2c-code
Command: npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-code

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploys and manages B2C Commerce code versions and cartridges via the b2c CLI, enabling streamlined deployment and lifecycle management.

Core Features & Use Cases

  • Deploy cartridges to a target server and code version.
  • Activate, reload, or delete code versions to support CI/CD pipelines.
  • Watch for file changes and auto-upload during development.
  • List, inspect, and manage code versions across sandboxes and servers.

Quick Start

Use the b2c CLI to deploy and manage code versions. Examples: b2c code deploy --server my-sandbox.demandware.net --code-version v1 b2c code watch b2c code list

Frequently Asked Questions about b2c-code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy B2C Commerce cartridges to a sandbox?

You can deploy B2C Commerce cartridges using the b2c CLI by targeting a specific server and code version. This uploads your code directly to the target environment and manages the deployment lifecycle for development, staging, or production.

Can I auto-upload B2C code changes during development?

Yes, you can auto-upload B2C code changes during development using the watch command. The b2c CLI monitors local file changes and automatically uploads updated cartridges to your connected server or sandbox in real time.

What is the best way to activate and manage B2C code versions for CI/CD?

The best way to manage B2C code versions for CI/CD is using b2c CLI commands to activate, reload, or delete versions. This supports pipeline automation by controlling code parity and version states across sandboxes and servers.

Does the b2c CLI support listing and inspecting code versions across sandboxes?

Yes, the b2c CLI supports listing and inspecting code versions across sandboxes and servers. You can use the list command to view, manage, and maintain code parity across different development, staging, and production environments.

How do I delete or reload a B2C code version on a target server?

You can delete or reload a B2C code version on a target server using specific b2c CLI commands. These actions support lifecycle management and allow you to control code parity and reload behavior during CI/CD workflows.