codecept: command not found in Ubuntu, you must follow these steps:
sudo composer global require "codeception/codeception=2.1.*" "codeception/specify=*" "codeception/verify=*"
and then run the following command:
sudo ln -s ~/.composer/vendor/bin/codecept /usr/local/bin/codecept
So codecept build and codecept run will work.
If you are using Windows, run this command: composer global require "codeception/codeception=2.1.*" "codeception/specify=*" "codeception/verify=*"
Add this line to your path:
~\AppData\Roaming\Composer\vendor\bin
source share