---
title: "Warning: \"Please install vendored drush for your site for better compatibility\"\""
date: "2024-02-08T21:35:50+00:00"
summary:
image:
type: "article"
url: "/acquia-cloud-platform/help/93766-warning-please-install-vendored-drush-your-site-better-compatibility"
id: "0a61546f-375e-465b-a725-dc2a32ccfa7c"
---

Table of contents will be added

Issue
-----

When deploying a new branch or tag you may get the following warning in your task log for Drupal 8 or later site:

    Executing: ls -l /var/www/html/sitename.dev/docroot/vendor/bin/drush > /dev/null (as sitename.dev@staging-xxxx})
    ls: cannot access '/var/www/html/sitename.dev/docroot/vendor/bin/drush'
    : No such file or directory
    WARN: vendor/bin/drush not found, falling back to system drush. Please install vendored drush for your site for better compatibility

Cause
-----

The code does not have Drush installed via Composer or something is wrong with the Composer structure.   
  
This warning does not impact your deployment.

Resolution
----------

*   Install Drush in your code via Composer. 
*   If Drush is installed confirm you have a correct composer structure. Composer files and vendor folder should be above the docroot. 

If the warning persists, contact Acquia Support