There is method of installing drush via composer:
composer global require drush/drush:dev-master
But how to uninstall it using composer?
It seems there is no single remove command, so you need to:
composer.json file, e.g.
and remove line containing drush. Save the file.
Update Composer PHP packages by:
composer global update
It will remove a globally installed
If you don't have
composer command in your PATH, try
php composer.phar instead.
You are now able to run
composer [global] remove drush/drush to uninstall it.