Menu

CLI Plugins

Beyond the base commands that are already available, the Twilio CLI's functionality can be extended through plugins. You can publish your own plugins to share with the wider Twilio community, or make them private for your own—or your clients’—business workflows.

While Twilio CLI itself is generally available, each plugin has its own individual release status. Please check a plugin's documentation to learn more about its development status.

Install a plugin

Plugins are installed using the twilio plugins command.

twilio plugins:install PLUGIN_PACKAGE_NAME

For example:

twilio plugins:install @twilio-labs/plugin-serverless

Once the plugin is installed, refer to the plugin’s documentation to see what new commands are available.

If you’re using autocomplete, you’ll need to re-run twilio autocomplete after installing a plugin. This will rebuild the CLI's cache, and enable autocompletion for commands tied to the new plugin.

Available plugins

Twilio Labs supports numerous plugins targeted at supporting common workflows for developers. These are just a few options:

  • Dev Phone — A developer tool for testing Twilio SMS and Voice applications, even if you don't have service.

    twilio plugins:install @twilio-labs/plugin-dev-phone
  • Serverless Toolkit — Use this to streamline your development workflow with Twilio Functions & Assets.

    twilio plugins:install @twilio-labs/plugin-serverless
  • Twilio Assets Plugin — Allows you to upload and manage static assets in a Twilio Assets service.

    twilio plugins:install @twilio-labs/plugin-assets
  • Twilio Webhook Plugin — Allows you to emulate webhook events to validate your applications and TwiML Bins.

    twilio plugins:install @twilio-labs/plugin-webhook​
  • twilio watch — Allows you to watch debugger alerts, voice calls, and messages as they come in, in real time.

    twilio plugins:install @twilio-labs/plugin-watch
  • twilio token — Install and use this plugin to generate a token for use in a client-side SDK, e.g., a chat application.

    twilio plugins:install @twilio-labs/plugin-token
  • twilio flex — Allows you to create, build, and deploy Flex plugins.

    twilio plugins:install @twilio-labs/plugin-flex

Create a plugin

Want to write your own plugin? This document will show you how.

Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

Thank you for your feedback!

Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

thanks-feedback-gif