wp-cli/wp-cli — pull request #533 by MiteshShah (2013-06-20 10:58:24+00:00)
Title: Better way to install wp-cli

Old Way To Change Installation Dir:

```bash
curl http://wp-cli.org/installer.sh > installer.sh
INSTALL_DIR='/usr/share/wp-cli' sudo bash installer.sh
```

Now Better way

```bash
curl http://wp-cli.org/installer.sh | sudo bash -s /usr/share/wp-cli
```

Just Add Following 2 Lines On Installation Scripts

INSTALL_DIR=$1
VERSION=$2