Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now

Menu

Expand
Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Getting Started

This is a Twilio Labs project

This means this project is 100% open-source. You can find its source code in the Twilio Labs GitHub organization.

We currently don't support the projects through our official support channels. But you are welcome to reach out to us on GitHub for any questions, issues or suggestions or to contribute to this project.

Learn more about Twilio Labs.

Install the Twilio Serverless Toolkit

Before we can get started using the Twilio Serverless Toolkit, we need to install it.

There are two ways you can use the toolkit. If you are already using the Twilio CLI, you can install it via a plugin. Alternatively, you can use the toolkit as a standalone using twilio-run via npm or another Node.js package manager.

Throughout the docs, you can switch in the code snippets between Twilio-CLI and Bash Session to get the commands for both versions.

When would I use which version?

If you and the people who work with you on the project have the Twilio CLI installed, your best bet will be to use the plugin. If you intend to install the toolkit as a dependency directly to your project, you can best install twilio-run.

        
        
        
        
        To get started, you'll have to install the Twilio Serverless Toolkit either via the Twilio CLI or npm

        Install Twilio Serverless Toolkit

        To get started, you'll have to install the Twilio Serverless Toolkit either via the Twilio CLI or npm

        Explore the commands and options

        You can find all available commands using the --help flag on the toolkit or a specific command.

              
              
              
              

              What's next?

              Now that we have the toolkit installed let's see what we can do with it.

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