Phalcon dev-tools installation error

I'm getting this error with the following commands:

I'm logged in as root - And i'm currently in /root/ dir when executing the commands

  1. git clone https://github.com/phalcon/phalcon-devtools.git
  2. cd phalcon-devtools
  3. . phalcon.sh

I've tried creating a new user called phalcon - did the commands:

  1. git clone https://github.com/phalcon/phalcon-devtools.git
  2. cd phalcon-devtools
  3. . phalcon.sh

I'm getting this error when executing ". phalcon.sh": Could not open input file: /root/phalcon-devtools/phalcon.php

make sure you set the .sh file as executable

chmod +x phalcon.sh

then

./phalcon.sh

or

bash phalcon.sh