Menu

Install Flex Plugins CLI

BETA

This Twilio product is currently available as a beta release. Some features are not yet implemented and others may be changed before the product is declared as Generally Available. Beta products are not covered by a Twilio SLA. Learn more about beta product support.

Install the Flex Plugins CLI

The Flex Plugins CLI is available via the Twilio CLI. You can install it using the twilio plugins command:

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

This will use the Twilio CLI's plugin functionality to install the Flex Plugins CLI capabilities. Under the hood, the Flex Plugins CLI uses the Flex Plugins API.

Prerequisites

In order to install the Flex Plugins CLI, you'll need:

  • Any macOS, Linux, or Windows machine
  • NPM version 5.0.0 or later (type npm -v in your terminal to check)
  • Node versions from 10.12.0 to 15. We are currently looking into supporting Node 16 but it is not supported yet. (type node -v in your terminal to check)
  • The Twilio CLI. Refer to the Quick Start Guide for installation instructions

Checking your installed version

The twilio plugins command will return details on all plugins you've installed on the Twilio CLI:

twilio plugins

The Flex Plugins CLI is installed if the plugin-flex version is 1.0.0 or greater:

@twilio-labs/plugin-flex 4.0.0

Uninstalling legacy versions of the Plugins Builder

Legacy plugins were created by directly using the create-flex-plugin node package. The Flex Plugins CLI manages this dependency for you, and you can remove any prior installations you may have created. You can remove a global installation with:

npm uninstall -g create-flex-plugin

What's next?

Now that you have installed the Plugins CLI, it is time to it learn how to use it with Flex Plugins. Migrate any existing plugins you have developed, review common development workflows, and get started with a new plugin.

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 Community Forums or browsing the Twilio tag on Stack Overflow.

Thank you for your feedback!

We are always striving to improve our documentation quality, and your feedback is valuable to us. Please select the reason(s) for your feedback or provide additional information about how we can improve:

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

Thanks for your feedback!

Refer us and get $10 in 3 simple steps!

Step 1

Get link

Get a free personal referral link here

Step 2

Give $10

Your user signs up and upgrade using link

Step 3

Get $10

1,250 free SMSes
OR 1,000 free voice mins
OR 12,000 chats
OR more