This is an old revision of the document!


Twitter CLI

How to set up Twitter CLI on a Mac:

brew install ruby@2.7
echo 'export PATH="/usr/local/opt/ruby@2.7/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
gem install t
echo 'export PATH="/usr/local/lib/ruby/gems/2.7.0/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile

This is using Ruby 2.7 but supposedly you should be able to use Ruby 3 as well.

Twitter CLI on Github