Got and error when installing phalcon-devtools

My OS is Ubuntu 16.04. I have followed the installation instructioni as follow:

  1. git clone git://
  2. cd phalcon-devtools/
  3. . ./
  4. ln -s ~/phalcon-devtools/phalcon.php /usr/bin/phalcon
  5. chmod ugo+x /usr/bin/phalcon

when I go through step 3. I got an error "init:3: = not found". It seems the script needs to run in rullevel3? Anybody knows what's going on? I have on idea how to fix this issue.


Hi lydbupt,

I think your step 3 is not necessary . ./ (script does not need to be sourced), it is not even not mentionned in the readme

As you don't have step 0 telling us in wich directory you are before running your commands, I propose such sequence:

$ git clone git://
$ cd phalcon-devtools/
$ sudo ln -s phalcon.php /usr/local/bin/phalcon
$ sudo chmod ugo+x /usr/local/bin/phalcon