export PATH="~/.composer/vendor/bin:$PATH" manually code example Example: export PATH="$PATH:$HOME/.composer/vendor/bin" export PATH="$PATH:$HOME/.composer/vendor/bin"