Uninstall the Twilio CLI
To remove the Twilio CLI from your machine, follow the directions below that correspond to your operating system and the installation method used.
Homebrew
If you installed the Twilio CLI with Homebrew, you can uninstall by using:
brew uninstall twilio
This command may require sudo
to execute successfully: sudo /usr/local/lib/twilio-cli/bin/uninstall
Scoop
To uninstall the Twilio CLI if you installed using Scoop, use:
scoop uninstall twilio
Linux
apt
If you installed the Twilio CLI using apt, uninstall using:
apt remove twilio
rpm file
If you installed using a downloaded .rpm file, you can uninstall it by running:
yum remove twilio
# or
dnf remove twilio
This command may require sudo
to execute successfully, for example: sudo yum remove twilio
macOS
If you installed the Twilio CLI using a .pkg file, uninstall with the following command:
/usr/local/lib/twilio-cli/bin/uninstall
Windows
If you installed the Twilio CLI using a downloaded .exe file, follow these steps to uninstall:
- Click
Start > Control Panel > Programs > Programs and Features
. - Select
twilio-cli
, and then click Uninstall.
npm
If you elected to use npm to install the Twilio CLI on any platform, then the following command will remove it from your machine:
npm remove -g twilio-cli
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.