Get Started Building a Salesforce CLI Plugin

This section helps you get started creating your own custom plugins. Run through these steps to generate a fully functional plugin.

  1. Set up your development environment.
  2. Generate the initial scaffolding for a basic plugin.
  3. Run the sample hello world command.
  4. Tour the generated files to learn what source code makes up a Salesforce CLI plugin.
  5. Add two custom commands to your plugin.

Congrats! You created a simple Salesforce CLI plugin that can handle a few simple tasks. But your business needs are more complex. So now check out the next steps in your plugin journey.