Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save charlesbatista/9229d985b7bd89971a7356a6eac65e29 to your computer and use it in GitHub Desktop.
Save charlesbatista/9229d985b7bd89971a7356a6eac65e29 to your computer and use it in GitHub Desktop.
Como instalar WP-CLI no Windows
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