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.
- Set up your development environment.
- Generate the initial scaffolding for a basic plugin.
- Run the sample
hello world
command. - Tour the generated files to learn what source code makes up a Salesforce CLI plugin.
- 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.