SyntaxFix
Write A Post
Hire A Developer
Questions
For Macbook: run command sudo nano ~/.bash_profile to edit bash_profile then add alias composer="COMPOSER_MEMORY_LIMIT=-1 composer" in that file, then save and exit.
sudo nano ~/.bash_profile
alias composer="COMPOSER_MEMORY_LIMIT=-1 composer"
Hope this will solve the problem; Happy coding!