Skip to main content

terminus remote:drush


Runs a Drush command remotely on a site environment.

Example Usage

terminus remote:drush --progress --retry RETRY -- <site>.<env> <command>...

remote:drush <site>.<env> -- <command> Runs the Drush command <command> remotely on <site>'s <env> environment.

remote:drush <site>.<env> --progress -- <command> Runs a Drush command with a progress bar

remote:drush <site>.<env> --retry=3 -- <command> Runs a Drush command with up to 3 retries on failure



--ansiForce (or disable --no-ansi) ANSI output
--defineDefine a configuration item value.
--helpDisplay help for the given command. When no command is given display help for the <info>list</info> command
--no-ansiNegate the "--ansi" option
--no-interactionDo not ask any interactive question
--progressAllow progress bar to be used (tty mode only)
--quietDo not output any message
--retryNumber of retries on failure
--verboseIncrease the verbosity of messages: 1 for normal output (-v), 2 for more verbose output (-vv), and 3 for debug (-vvv)
--versionDisplay this application version
--yesAnswer all confirmations with "yes"
Back to all commands