t is a Ruby Gem. Here is a Guide For the Setup of Twitter Command Line Tool t on OS X. t is easy and great tool for the advanced CLI users. We have lot of guides on setting up the useful command line tools like Google Search, Facebook command line tool, command line music player with visualizer and so on…
What is Needed for the Setup of Twitter Command Line Tool t on OS X
OS X Homebrew iTerm2, may be powerline, may be FISH instead of ZSH…
And possibly Nano syntax highlighting. All are of decorative need, for sure.
Setup of Twitter Command Line Tool t on OS X
Depending upon your setup, you might need to run the command with
sudo in order to install from Terminal :
#sudo gem install t
sudo gem install t
Then run this command after installation :
It will give you guide to create an App on apps dot twitter dot com like in this way :
Welcome! Before you can use t, you'll first need to register an
application with Twitter. Just follow the steps below:
1. Sign in to the Twitter Application Management site and click
"Create New App".
2. Complete the required fields and submit the form.
Note: Your application must have a unique name.
3. Go to the Permissions tab of your application, and change the
Access setting to "Read, Write and Access direct messages".
4. Go to the API Keys tab to view the consumer key and secret,
which you'll need to copy and paste below when prompted.
Kid like copy-paste works will suck 10-15 minutes. Here is t’s official GitHub repo :
You can run commands like :
t whois @abhishekctrl
and use our normal unix commands :
t whois @abhishekctrl > abhishekghosh.txt
This is help :
These are quite useful commands :
t timeline -r
t timeline -l -r
On the screenshot we are using FISH Shell.