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.
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'll find all instructions using the Twilio CLI.
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 alternatively install twilio-run
as a devDependency
in your Node.js project.
To get started, you'll have to install the Twilio Serverless Toolkit using the Twilio CLI
1# Install the Serverless plugin2twilio plugins:install @twilio-labs/plugin-serverless34# See a list of available commands:5twilio serverless --help
You can update Twilio CLI plugins by running twilio plugins:update
, but this might not pull the very latest version. Instead, uninstall and re-install the plugin.
1# Uninstall the existing Serverless Toolkit2twilio plugins:remove @twilio-labs/plugin-serverless34# Install the latest version of the Serverless Toolkit5twilio plugins:install @twilio-labs/plugin-serverless@latest
You can find all available commands using the --help
flag on the toolkit or a specific command.
1# List all available commands2twilio serverless --help34# Get available flags and description for a specifically5# for a command like deploy6twilio serverless:deploy --help
Now that we have the toolkit installed let's see what we can do with it.