Last active
December 15, 2015 08:19
-
-
Save pixelpogo/5229541 to your computer and use it in GitHub Desktop.
Install drush in your Uberspace account
This file contains hidden or 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
# In your Uberspace account's $HOME directory do... | |
# Clone drush git repo | |
git clone --branch master http://git.drupal.org/project/drush.git | |
# Checkout the correct git branch | |
cd drush && git checkout 8.x-6.x | |
# Add drush/bin/drush to your .zshrc/.bashrc/.bash_profile file | |
echo "export PATH=$PATH:$HOME/drush" | cat >> ~/.zshrc | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
may I suggest:
ln -s $HOME/drush/drush $HOME/bin
instead of the last line - changing.bashrc
isn't necessary.