Install drush on shared hosting

How to install drush on shared hosting :

1. Go to your server like


2. Go to your home folder by typing

 cd ~ 

3. Type this


(I have not used drush 7 because it needs composer, so i was unable to install composer on shared hosting, if you help me in that i can buy a coffee for you)
4. Edit .bashrc file in your favorite editor may be nano, vi or vim.
5. Look for

# User specific aliases and functions

and add this alias to it

alias drush="~/drush/drush"

6. Refresh bashrc with this command

 source ~/.bashrc 

7. Type


Enjoy Drupal development @ command line.