export PATH=$PATH:~/.composer/vendor/bin
#You may replace .zshrc with .bashrc
echo "export PATH=$PATH:$HOME/.config/composer/vendor/bin" >> ~/.zshrc
source ~/.zshrc
~/.composer/vendor/bin/valet install
valet --version
test -d ~/.composer && bash ~/.composer/vendor/bin/valet install || bash ~/.config/composer/vendor/bin/valet install