Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: pin a specific version of the Twilio CLI #159

Merged
merged 1 commit into from
Mar 19, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docs/general_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,26 @@ ps -aux | twilio email:send \
--text="See attachment"
```

## Troubleshooting

### Installing a specific version of twilio-cli

General installation instructions are located [here](https://twil.io/cli#install-twilio-cli).

A list of tagged releases can be found with `git ls-remote --tags https://github.com/twilio/twilio-cli.git`.

Substitute X.X.X below with the desired version.

#### Mac OS X

`brew install https://raw.githubusercontent.com/twilio/homebrew-brew/X.X.X/Formula/twilio.rb`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need uninstall steps for brew.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those steps are given when you run that command by homebrew itself, if it's necessary.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack.


#### Windows / Linux

`npm uninstall -g twilio-cli`

`npm install [email protected] -g`

## Known limitations

* The default timeout value for Twilio API requests in `twilio-cli` is 30 seconds.
Expand Down