Created
October 2, 2017 08:05
-
-
Save delineas/3cb3f4985efd5e609a2ba97f83211b85 to your computer and use it in GitHub Desktop.
Instalar Drush Launcher
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Opcional: Posiciónate en el terminal en tu carpeta de drupal | |
cd /micarpeta/midrupal | |
# Descarga el launcher en Os x | |
curl -OL https://github.com/drush-ops/drush-launcher/releases/download/0.4.2/drush.phar | |
# Para Linux | |
wget -O drush.phar https://github.com/drush-ops/drush-launcher/releases/download/0.4.2/drush.phar | |
# Convierte el fichero en ejecutable | |
chmod +x drush.phar | |
# Puedes ya ejecutar drupal utilizando PHP en línea | |
php drush.phar status | |
# Opcional: Puedes mover el fichero a ruta de comandos incluidos con $PATH | |
sudo mv drush.phar /usr/local/bin/drush | |
# Así podrs ejecutar esto en cualquier parte | |
drush status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment