{"id":3089,"date":"2014-02-06T18:40:33","date_gmt":"2014-02-06T18:40:33","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2014\/02\/06\/installing-drush-onto-your-server\/"},"modified":"2023-09-13T12:16:52","modified_gmt":"2023-09-13T16:16:52","slug":"install-drush","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/","title":{"rendered":"How to Install Drush"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"alignright size-large\"><img decoding=\"async\" width=\"218\" height=\"215\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/drush-logo.png\" class=\"optimized-lcp-image\" alt=\"Drush logo\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\"><\/figure>\n<\/div>\n\n\n<p><a href=\"https:\/\/www.drush.org\/latest\/\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\"><strong>Drush<\/strong><\/a>, the <em>Drupal Shell<\/em>, is a command-line interface (CLI) application for managing the <a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/\" target=\"_blank\" rel=\"noreferrer noopener\">Drupal<\/a> content management system (CMS). For users who enjoy working from the shell, install Drush to save yourself a lot of time in the long run.<\/p>\n\n\n\n<p>Drush allows you to configure modules and themes without logging into the Drupal dashboard. You can use it to manage multiple sites. Drush will even allow you to quickly <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/create-a-drupal-8-backup-backup-and-migrate\/\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\">backup and restore Drupal sites<\/a> on your server. You can do many normal tasks within the terminal that you would normally do within the Drupal web interface.<\/p>\n\n\n\n<p class=\"alert alert-warning\">You will need <a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/do-you-provide-ssh-access\/\" target=\"_blank\" rel=\"noreferrer noopener\">SSH access<\/a> and <a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/amp\/obtain-root-access\/\" target=\"_blank\" rel=\"noreferrer noopener\">root access<\/a> for your hosting account to install Drush. You may also need to <a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/whm\/how-to-enable-ssh-through-whm\/\" target=\"_blank\" rel=\"noreferrer noopener\">enable SSH on your server<\/a> and <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/add-ip-to-firewall\/\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\">whitelist your IP address in the server firewall<\/a>.<\/p>\n\n\n\n<p>Before getting started, check to see if Drush is already installed on your server.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">composer -V<\/pre>\n\n\n\n<p>If it is installed, the following command will return the full file path to the installation.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">which composer<\/pre>\n\n\n\n<p>If it\u2019s not installed, read on to learn how to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#composer\">Install Drush with Composer<\/a><\/li>\n\n\n\n<li><a href=\"#pear\">Install Drush with PEAR<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#specific\">Install a Specific Version of Drush with PEAR<\/a><\/li>\n\n\n\n<li><a href=\"#uninstall\">Uninstall Drush with PEAR<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#alias\">Create a Bash Alias for Faster Drush Access<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"alert alert-info\">Ignite your online presence with cutting-edge\u00a0<a href=\"https:\/\/www.inmotionhosting.com\/drupal-hosting\">Drupal Website Hosting<\/a>. Elevate speed, security, and reliability for a seamless website experience.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"composer\">Install Drush with Composer<\/h2>\n\n\n\n<p>This is the only official method for installing Drush per Drupal as Composer is already installed on InMotion Hosting servers.<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\">\n<li><a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/how-to-login-ssh\/\" target=\"_blank\" rel=\"noreferrer noopener\">Log into SSH<\/a> or <a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-launch-the-cpanel-terminal\/\" target=\"_blank\" rel=\"noreferrer noopener\">cPanel Terminal<\/a>.<\/li>\n\n\n\n<li>Add Drush to your composer.json file with the following command: <pre>composer require drush\/drush<\/pre><br>Alternatively, to install Drush for all users on the server: <pre>composer global require drush\/drush<\/pre><br><p class=\"alert alert-warning\">If you receive the error \u201c<em>Allow_url_fopen must be enabled<\/em>,\u201d check your selected PHP version in <strong>MultiPHP INI Editor<\/strong> from <a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/cpanel-multiphp-ini-editor\/\" target=\"_blank\" rel=\"noreferrer noopener\">cPanel<\/a> or <a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/multiphp-ini-editor-whm\/\" target=\"_blank\" rel=\"noreferrer noopener\">WebHost Manager (WHM)<\/a>.<\/p><\/li>\n\n\n\n<li>Install Drush: <pre>composer install<\/pre><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"pear\">Install Drush with PEAR<\/h2>\n\n\n\n<p>PHP Extension and Application Repository (PEAR) was an older method for installing Drush. Although it\u2019s obsolete for newer versions, this may suffice for older Drush versions on private, staging environments.<\/p>\n\n\n\n<p class=\"alert alert-danger\">For current versions of Drush for Drupal, you must use Composer as instructed above.<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\">\n<li><a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/how-to-login-ssh\/\" target=\"_blank\" rel=\"noreferrer noopener\">Log into SSH<\/a> or <a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-launch-the-cpanel-terminal\/\" target=\"_blank\" rel=\"noreferrer noopener\">cPanel Terminal<\/a>.<\/li>\n\n\n\n<li>Once connected, confirm that PEAR is on the server. You can do this by typing the following command:<pre>pear version<\/pre><\/li>\n\n\n\n<li>Once confirmed, initialize the channel and add Drush to your PEAR channel list.<pre>pear channel-discover pear.drush.org<\/pre><\/li>\n\n\n\n<li>After adding the channel, now we can install Drush. You should see the installation succeed similarly to the code below.<pre>pear install drush\/drush<\/pre><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"specific\">Install a Specific Version of Drush with PEAR<\/h3>\n\n\n\n<p>The steps above will install the most current stable version of Drush onto your server. You may, however, need a specific version of Drush installed. For example, if you are using PHP version 5.2, you cannot use Drush version 6. You will need to install version 5.9. To do this, simply enter the install command as shown below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pear install drush\/drush-5.9.0<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"uninstall\">Uninstall Drush with PEAR<\/h3>\n\n\n\n<p>Should things go wrong, or you simply decide that you no longer wish to use Drush, you can easily uninstall it from your server.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pear uninstall drush\/drush<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"alias\">Create a Bash Alias for Faster Drush Access<\/h2>\n\n\n\n<p>It is unnecessary to use the full file path to Drush to use the scripting interface. By adding an <em>alias<\/em> to your bash configuration file, you can save yourself some more time and effort. Basically, we will create a shortcut to the Drush directory, so you do not need to completely type it out or search Bash history each time you want to run quick scripts.\u00a0<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><em>\u201cSmall savings of time amount to huge savings when compounded over the years.\u201d<\/em><\/p>\n<cite>Source: Unknown<\/cite><\/blockquote>\n\n\n\n<p>However, in order to use this scripting technique, you will need to know a little bit about your bash installation. Specifically, you must know the location of your bash configure file. This could be the <code>.bashrc<\/code> file or the <code>.bash_profile<\/code> file. By default, these files will be located in your user\u2019s home directory.<\/p>\n\n\n\n<p>All you need to do is edit the configuration file with your favorite text editor (<a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/how-to-edit-files-using-nano\/\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\">Nano<\/a>, <a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/vim\/\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\">Vim<\/a>, <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/emacs\/\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\">Emacs<\/a>, etc.) to add this piece of code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">alias drush='\/home\/username\/drush\/drush'<\/pre>\n\n\n\n<p class=\"alert alert-info\">Substitute the \u201cusername\u201d field above with your cPanel username.<\/p>\n\n\n\n<p>Should you have any further questions, be sure to take a search through our<a href=\"https:\/\/www.inmotionhosting.com\/support\/questions\/\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\"> Community Forum<\/a>. If you cannot find your topic there, be sure to ask the team a question and we will get back with you as soon as possible.<\/p>\n\n\n\n<p>Learn more from our <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\">Drupal Education Channel<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Drush, the Drupal Shell, is a command-line interface (CLI) application for managing the Drupal content management system (CMS). For users who enjoy working from the shell, install Drush to save yourself a lot of time in the long run. Drush allows you to configure modules and themes without logging into the Drupal dashboard. You can<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[372],"tags":[],"class_list":["post-3089","post","type-post","status-publish","format-standard","hentry","category-drupal"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Drush (2 Easy Options) | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"This article helps you to install Drush on your server.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Drush (2 Easy Options) | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"This article helps you to install Drush on your server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2014-02-06T18:40:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-13T16:16:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2014\/02\/canva-install-drush.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"How to Install Drush\",\"datePublished\":\"2014-02-06T18:40:33+00:00\",\"dateModified\":\"2023-09-13T16:16:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/\"},\"wordCount\":722,\"commentCount\":17,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/drush-logo.png\",\"articleSection\":[\"Drupal\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/\",\"name\":\"How to Install Drush (2 Easy Options) | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/drush-logo.png\",\"datePublished\":\"2014-02-06T18:40:33+00:00\",\"dateModified\":\"2023-09-13T16:16:52+00:00\",\"description\":\"This article helps you to install Drush on your server.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/drush-logo.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/drush-logo.png\",\"width\":218,\"height\":215,\"caption\":\"Drush logo\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Drush\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Drush (2 Easy Options) | InMotion Hosting","description":"This article helps you to install Drush on your server.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Drush (2 Easy Options) | InMotion Hosting","og_description":"This article helps you to install Drush on your server.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2014-02-06T18:40:33+00:00","article_modified_time":"2023-09-13T16:16:52+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2014\/02\/canva-install-drush.jpg","type":"image\/jpeg"}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"How to Install Drush","datePublished":"2014-02-06T18:40:33+00:00","dateModified":"2023-09-13T16:16:52+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/"},"wordCount":722,"commentCount":17,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/drush-logo.png","articleSection":["Drupal"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/","name":"How to Install Drush (2 Easy Options) | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/drush-logo.png","datePublished":"2014-02-06T18:40:33+00:00","dateModified":"2023-09-13T16:16:52+00:00","description":"This article helps you to install Drush on your server.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/drush-logo.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/drush-logo.png","width":218,"height":215,"caption":"Drush logo"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/install-drush\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Install Drush"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":372,"name":"Drupal","slug":"drupal","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=3089"}],"version-history":[{"count":10,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3089\/revisions"}],"predecessor-version":[{"id":106585,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3089\/revisions\/106585"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=3089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=3089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=3089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}