Archive | Tips

RSS feed for this section

How to install WP-CLI with Composer without sudo

There are a number of ways to install WP-CLI. However you might run into problems if you want to avoid using sudo. The default installation symlinks the wp command line interface into /usr/local/bin which requires sudo. Since Composer already allows us to manage PHP libraries easily, it makes sense to reuse it with wp-cli as […]