how to know composer version code example Example: run global packages macos composer export PATH=~/.composer/vendor/bin:$PATH