curl -s https://getcomposer.org/installer | php

{
    "require": {
        "phalcon/devtools": "dev-master"
    }
}

php composer.phar install

ln -s ~/phalcon-devtools/phalcon /usr/bin/phalcon
chmod ugo+x /usr/bin/phalcon