Files
syno_scripts/install_wp-cli.sh
2022-05-07 22:22:52 +02:00

13 lines
228 B
Bash

#!/usr/bin/env bash
# Télécharger
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
# Test
php wp-cli.phar --info
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp
# Test
wp --info