Created
March 7, 2023 17:28
-
-
Save charlesbatista/9229d985b7bd89971a7356a6eac65e29 to your computer and use it in GitHub Desktop.
Como instalar WP-CLI no Windows
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
1. Baixe o arquivo pelo link: https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
2. Mova o arquivo para C:/wp-cli ou C:/xampp/wp-cli, como preferir. | |
3. Crie um arquivo chamado wp.bat e insira o conteúdo: | |
@ECHO OFF | |
php "c:/xampp/wp-cli/wp-cli.phar" %* | |
- Lembre-se de alterar o caminho logo acima para o diretório do arquivo .phar que baixou. | |
4. Well done! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment