place the /.composer/vendor/bin directory in your path code example Example: export PATH="$PATH:$HOME/.composer/vendor/bin" export PATH="$PATH:$HOME/.composer/vendor/bin"