Skip to main content

How to Deploy Autopilot Bots from the CLI

Install and configure the Twilio CLI

NOTE: To install the Twilio CLI you'll need to have NodeJS 10.x or later installed. To download the latest version of node visit nodejs.org.

Twilio CLI Setup Steps

  1. Install the Twilio CLI
    $ npm install twilio-cli -g
  2. Setup a CLI profile
    $ twilio login
  3. Install the Dabble Lab Autopilot Plugin
    $ twilio plugins:install @dabblelab/plugin-autopilot
  4. Confirm the plugin is installed correctly
    $ twilio autopilot --help

Using the CLI automate bot updates

After the Twilio CLI is configured with the Autopilot plugin you can run the following commands.

Create a new bot