Skip to content

Instantly share code, notes, and snippets.

@malte-j
Last active August 15, 2020 18:04
Show Gist options
  • Save malte-j/bb4b615bbf8fc961aeaef7fe87d8165d to your computer and use it in GitHub Desktop.
Save malte-j/bb4b615bbf8fc961aeaef7fe87d8165d to your computer and use it in GitHub Desktop.
Installing WP-CLI on shared hosting

Install wp-cli:

mkdir wp-cli && cd wp-cli && curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar

Add wp-cli to path, making it executable globally

echo "alias wp=\"~/wp-cli/wp-cli.phar --path='/usr/home/chaos/public_html'\"" >> ~/.bashrc

Test if it's working:

wp plugin list

Install the argo theme:

wp theme install https://github.com/skyguardian42/argo/releases/latest/download/argo.zip --activate --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment