Install past versions of twilio-cli
In some rare situations, you may need to make use of an older version of twilio-cli
. These directions will guide you on how to do so, depending on your operating system and chosen installation method.
For a list of which versions of twilio-cli
are available, see the releases list.
Contents
Package managers
Homebrew
To install a specific version of twilio-cli
with Homebrew, use:
brew install twilio@VERSION
Replace VERSION
with the semantic version of the release you need—for example, 2.36.1
:
brew install twilio@2.36.1
Downgrade from an existing installation
If you have a newer version of twilio-cli
already installed, you will need to unlink
that installation so that your system can use the past version in subsequent commands:
brew unlink twilio && brew link twilio@VERSION
As we did earlier, replace VERSION
with the semantic version of the release you need—for example, 2.36.1
.
Restore to the latest version of twilio-cli
To restore your installation of twilio-cli
to the latest version again, reverse the previous process and relink to the latest release:
brew unlink twilio@VERSION && brew link twilo
Others
If you installed twilio-cli
with any of the other common package managers (scoop, apt, or yum/dnf), uninstall your current version by following the respective uninstall instructions for your operating system and package manager. Afterwards, follow the steps in the Platform executables section below to install a specific version.
Platform executables
If you installed twilio-cli
with one of the platform executable files (.pkg
, .exe
, .deb
, or .rpm
):
- From the releases list, find your desired version and click on Assets under that release to reveal its platform executables.
- Download the executable for your operating system.
- Install as described in the general installation instructions for your operating system.
npm
If you installed twilio-cli
with npm
, use the following commands to install a specific version:
npm uninstall -g twilio-cli && npm install -g twilio-cli@VERSION
Replace VERSION
with your desired version.
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.