Do not run Composer as root/super user! See https://getcomposer.org/root for details
when i tried to run as root user it shows the following message
Do not run Composer as root/super user! See https://getcomposer.org/root for details
@zachleigh what kind of user i have to create to run the composer
You can allow composer to run as root by copy and paste this line into your terminal:
export COMPOSER_ALLOW_SUPERUSER=1
Becasue running composer as root is not advisable, try to use this option with caution
Please or to participate in this conversation.