Drupal 8 beta version has been release and soon drupal 8 stable version will be released. Everyone wants to try drupal 8 before release, and test it using migration from drupal 6 or 7. As we know for now we can migrate from drupal 6 to drupal 8 using drush command line only. Currently no GUI is available. you can check guide for mogratation from drupal 6 to drupal 8 Migrate drupal 6 to Drupal 8 using Drupal migrate module
Drupal 8 requires specific version of Drush. i.e. Drush 7.x beta. It can’t be installed like other version of drush, you need to installed it using composer.
How to install Drush requird for Drupal 8
- first of all check if curl is installed or not
curl -V
-
if you will see output like below, It means curl is installed.
-
if not then install curl using following command in ubuntu
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
for centos
yum install curl
-
After installing curl, Install composer and move composer.phar to bin
curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer
-
Now add composer directory to path, So that you can execute composer from any directory in terminal
export PATH="$HOME/.composer/vendor/bin:$PATH"
-
Now reload your terminal and execute following command, to install drush
composer global require drush/drush:dev-master
-
That’s it, If everything goes okay,you can check the drush by executing following command
drush --version