Di artikel kali ini akan dibahas bagaimana caranya install drush di OS Linux Ubuntu.
Berikut langkah-langkahnya :

  1. Install terlebih dahulu git jika belum terinstall.
    sudo apt-get update
    sudo apt-get install git
  2. Install terlebih dahulu curl jika belum terinstall.
    sudo apt-get update
    sudo apt-get install curl
  3. Update Packages
    sudo apt-get update && sudo apt-get upgrade
  4. Install Composer
    curl -sS https://getcomposer.org/installer | php
  5. Pindahkan file composer.phar ke /usr/local/bin/, supaya nanti bisa diakses dari folder manapun.
    sudo mv composer.phar /usr/local/bin/composer
  6. Verifikasi
    composer --version
  7. Download Drush
    wget https://github.com/drush-ops/drush/releases/download/8.0.1/drush.phar
  8. Verifikasi
    php drush.phar core-status
  9. Pindahkan file drush.phar ke /usr/local/bin/, supaya nanti bisa diakses dari folder manapun.
    chmod +x drush.phar
    sudo mv drush.phar /usr/local/bin/drush
  10. Inisiasi drush
    drush init
  11. Tes
    drush

Software Engineer | Digital Transformation Practitioner | Web & Mobile Developer | IT Consultant | Technopreneur | Blogger

Leave a Reply

Your email address will not be published. Required fields are marked *