Make sure the ~/.composer/vendor/bin directory is in your system's "PATH". code example
Example: mac Make sure the ~/.composer/vendor/bin directory is in your system's "PATH"
export PATH="$PATH:$HOME/.composer/vendor/bin"
export PATH="$PATH:$HOME/.composer/vendor/bin"