Files
wordpress/install_wp-cli.sh
2025-01-03 07:45:13 +01: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