Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to install latest composer in mac

brew install composer
Comment

install composer mac

curl -sS https://getcomposer.org/installer | php
php composer.phar install
mv composer.phar /usr/local/bin/composer
open -e  ~/.zshrc
// or open -e  ~/.bash_profile
alias composer="php /usr/local/bin/composer"
Comment

how to install composer on mac

/* Step 1 */
install homebrew
/* Step 2 */
brew install composer
Comment

composer install mac

Run the below commands inside the Terminal:

Step 1.
sudo php -r "copy('https://getcomposer.org/installer','composer-setup.php');" 

Step 2.
php composer-setup.php

Step 3.
sudo mv composer.phar /usr/local/bin/composer  
Comment

install composer mac

mv composer.phar /usr/local/bin/composer
chmod +x /usr/local/bin/composer
Comment

install composer mac

sudo composer self-update
Comment

PREVIOUS NEXT
Code Example
Shell :: autoclicker linux 
Shell :: install sequelize cli 
Shell :: windows check sum 
Shell :: install chromedriver linux command line 
Shell :: bash replace substring 
Shell :: error ppa.launchpad.net/certbot/certbot/ubuntu focal Release 
Shell :: close all localhost connections 
Shell :: rsync port ssh 
Shell :: show fortigate uptime 
Shell :: how to install pyqt5 
Shell :: Remove folder recursively using powershell 
Shell :: find current working directory bash 
Shell :: check disk space ubuntu 
Shell :: update yarn global 
Shell :: bashrc file location in linux 
Shell :: generating ssh key 
Shell :: powershell get serial number 
Shell :: Port 80 in use by "Unable to open process" with PID 4! 
Shell :: remove module and clear cache and install npm w expo 
Shell :: reload shell command 
Shell :: install packages from selected repo yum 
Shell :: how to push code to github 
Shell :: vite react + eslint 
Shell :: how to stop build in heroku 
Shell :: clear history linux 
Shell :: mkdir: /data/db: Read-only file system 
Shell :: gitk install 
Shell :: How to install Git in Ubuntu? 
Shell :: find bashrc 
Shell :: git commit with subject and body 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =