Drush for Drupal 7 Quick Start on Debian Linux
You are Welcome! The Tutorial shows you Step-by-Step How to Install and Getting-Started with Drush Command Line Interface for Drupal 7 on Debian 6-Squeeze/7-Wheezy/8-Jessie/9-Stretch/10-Buster/11-Bullseye i386/amd64 GNU+Linux Desktop/Server.
Drush is a command line shell and Unix scripting interface for Drupal. If you are unfamiliar with shell scripting, reviewing the documentation for your shell (e.g. man bash) or reading an online tutorial (e.g. search for “bash tutorial”) will help you get the most out of Drush.
Open a Shell Session
(Press “Enter” to Execute Commands)
How to Install Composer Manager for PHPInstalling Composer for PHP
Installing Drush CLi for Drupal7 on Debian.
composer global require drush/drush:dev-master
Insert Drush into User Path.
echo "export PATH=$PATH:$HOME/.composer/vendor/bin" > $HOME/.bashrc
Testing Drush Installation.
Getting Started with Drush 7 CLI CommandsDrush 7 Commands Quick Start