Skip to Content
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Sign in
  • Nederlands English (US) Español (AR)
  • Contact Us
  • Home
  • Blog
  • Jobs
  • Contact us
Cafayate.Net
  • 0
  • 0
    • Home
    • Blog
    • Jobs
    • Contact us
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Sign in
  • Contact Us

WP-CLI

  • All Blogs
  • Tech Blog
  • WP-CLI
  • March 5, 2021 by
    Administrator

    Installing (And Upgrading)

    First, download wp-cli.phar using wget or curl. For example:

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

    Then, check if it works:

    php wp-cli.phar --info
    

    To be able to type just wp, instead of php wp-cli.phar, you need to make the file executable and move it to somewhere in your PATH. For example:

    chmod +x wp-cli.phar
    sudo mv wp-cli.phar /usr/local/bin/wp
    

    Now try running wp --info.

    in Tech Blog
    How can I recursively delete all files of a specific extension in the current directory?

    Designed for companies

    We are a team of passionate people whose goal is to improve everyone's life through disruptive products. We build great products to solve your business problems. Our products are designed for small to medium size companies willing to optimize their performance.

    Get in touch

    Plantexel
    Pedernera
    Salta Capital 
    Argenina

    • +31 653-919-302
    • [email protected]
    Follow us
    Copyright © Plantexel
    Nederlands | English (US) | Español (AR)