SFDMU is an advanced Salesforce CLI plugin for data migration between Salesforce orgs or from CSV files. The current stable version is 5.6.4, released on the new SF CLI plugin architecture, superseding v4.x. It supports org-to-org and CSV-to-org migrations with CRUD operations, handles complex relationships including circular references, and runs entirely locally for security. Key differentiators vs Data Loader or Workbench: single config file, multiple related sObjects per run, field mapping, data anonymization, and composite external ID keys. Published by Salesforce (forcedotcom) on npm, requires Node >=18.
npm install sfdmuNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows full workflow: plugin install, org auth, config file creation, and running migration with sfdmu.
Use 'sf sfdmu run' and install via 'sf plugins install sfdmu' instead of 'sfdx plugins:install sfdmu'.
Upgrade to v5: uninstall the old plugin via 'sfdx plugins:uninstall sfdmu' then install via 'sf plugins install sfdmu'.
Always specify 'fields': 'all' or pass a list of field API names for each object in the config.
Use '--sourceusername' and '--targetusername' flags explicitly to avoid confusion.
Use 'sf sfdmu run' instead of 'sfdx sfdmu:run'.
Install with 'sf plugins install sfdmu' (not 'sfdx plugins:install sfdmu').
Ensure export.json contains a top-level 'objects' array with at least one object definition (name, fields, operation).
Update Node.js to version 18 or higher.