# Deploying to WordPress 4.5 will require WP-CLI >0.23.0

**URL:** https://discourse.roots.io/t/deploying-to-wordpress-4-5-will-require-wp-cli-0-23-0/6274
**Category:** trellis
**Created:** 2016-03-22T23:48:20Z
**Posts:** 2

## Post 1 by @ben — 2016-03-22T23:48:20Z

:rotating_light: :rotating_light: :rotating_light: Heads up! :rotating_light: :rotating_light: :rotating_light:

When WordPress 4.4 was released, [deploys for lots of Trellis users broke because it required a WP-CLI update](https://discourse.roots.io/t/wordpress-4-4-deploy-fails-at-task-wordpress-installed/5476/4). **This is also going to be the case with WordPress 4.5 when it’s released.**

See [http://wp-cli.org/blog/version-0.23.0.html](http://wp-cli.org/blog/version-0.23.0.html)

You can avoid any surprises now by upgrading to the new version. You can quickly upgrade WP-CLI on your remote servers by running:

```
sudo wget https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -O /usr/bin/wp
```

The preferred way to do it is to edit the WP-CLI role to reference the new version, then re-provision your server:

> <https://github.com/roots/trellis/blob/master/roles/wp-cli/defaults/main.yml#L2>

---

## Post 2 by @ben — 2016-04-12T22:57:03Z

Bumping now that WordPress 4.5 is out

> **[WordPress 4.5 “Coleman”](https://wordpress.org/news/2016/04/coleman/)**
>
> Version 4.5 of WordPress, named “Coleman” in honor of jazz saxophonist Coleman Hawkins, is available for download or update in your WordPress dashboard. New features in 4.5 help streamline your wor…
