I've been experimenting with composer for a while now on Mac and PC and have found that even though I've setup my Mac to alias composer to the /usr/bin/composer.phar file, when I have to update the composer.phar I still need to run sudo /usr/bin/composer.phar
for the file to update correctly.
Is this something that anybody else has come across? If so how do you fix it?

Clive Walkden
Posted:
Latest Articles

Explore the evolution of Magento 2 through its major releases, detailing features added, popularity metrics, and issues encountered.

Author

Linux —
How to Install NordLayer VPN Client on Ubuntu 20.04 and Connect to a Virtual NetworkA simple to follow installation guide for NordLayer VPN

Author

MySQL —
Mastering MySQL Database Imports on LinuxLearn efficient ways to import MySQL databases on Linux using the mysql command-line client. Explore the --source option and < operator for seamless data migration. Master MySQL imports on Linux with our comprehensive guide.

Author