ensure that you place the Composer bin folder in your PATH (usually $HOME/.config/composer/vendor/bin code example
Example: export PATH="$PATH:$HOME/.composer/vendor/bin"
export PATH="$PATH:$HOME/.composer/vendor/bin"
export PATH="$PATH:$HOME/.composer/vendor/bin"