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 :: adb screenrecord 
Shell :: composer remove packages 
Shell :: how to add proxy to your command line linux 
Shell :: install flask 
Shell :: git how to update branch from master 
Shell :: : keyserver receive failed: No dirmngr 
Shell :: java to jar 
Shell :: grep lines after match 
Shell :: python pytorch 
Shell :: raspberry pi change permissions /var/www 
Shell :: grep exclude file extension 
Shell :: add mirror list arch linux 
Shell :: remove netdata ubuntu 
Shell :: install scikit learn 
Shell :: bash copy file 
Shell :: phpcs standard xml 
Shell :: copy directory command in linux 
Shell :: git archive 
Shell :: repository commands 
Shell :: export display connection for wsl 
Shell :: cmd substring replace 
Shell :: codeigniter 4 migrate 
Shell :: ubuntu list of users 
Shell :: github add multiple credentials windows 
Shell :: ERR_NO_CERTIFICATES: Encountered adb error: NoCertificates. ionic 
Shell :: ubuntu connect openvpn 
Shell :: bash count lines 
Shell :: Flutter doctor error - Android sdkmanager tool not found. Windows 
Shell :: how to check default path of the nginx 
Shell :: ubuntu folder size 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =