How does Mac ensure that ~ / .composer / vendor/bin is in the system path

the problem encountered when installing valet, wrote export PATH= "$PATH:$HOME/.composer/vendor/bin"
in .bashrc and executed source .bashrc
, but it is still not mentioned in the documentation in the system path.
what should I do

this is .bashrc
clipboard.png

.composer

clipboard.png

Mar.01,2021

  1. you. Composer does not have a vendor directory.
  2. export PATH remove the quotation marks.

do you want to use the composer command globally?

Please follow these steps

clipboard.png

then use composer [commands] directly


append ~ / .composer/vendor/bin to PATH
export PATH=$PATH:~/.composer/vendor/bin

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3ddbd-4be75.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3ddbd-4be75.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?