pip install tweepy
wget --no-check-certificate -O ~/.twitter https://raw.github.com/gist/3986575/.twitter.config-example.json
wget --no-check-certificate -O /usr/local/bin/twitter https://raw.github.com/gist/3986575/twitter.py && chmod +x /usr/local/bin/twitter
Step 2: Create a new twitter app at https://dev.twitter.com/apps
$ twitter
Syntax: twitter "Your tweet."