Upgrade wp-cli

vps

#1

Dreamhost has wp-cli installed on all servers including my VPS:

wp --version wp-cli 0.7.0-alpha
Only I would like to have the latest version which is 0.9: http://wp-cli.org/ . How can I do this upgrade? Would: sudo -s curl http://wp-cli.org/packages/phar/wp-cli.phar > /usr/bin/wp chmod +x /usr/bin/wp
be the right way to proceed?