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 :: uninstall opera ubuntu 
Shell :: undo last git commit 
Shell :: datetime echo shell script 
Shell :: installing pip in ubuntu 
Shell :: how to brew install mongodb 
Shell :: react select install 
Shell :: Scan new disk in linux 
Shell :: how to uninstall mongodb in ubuntu 
Shell :: storage/logs/laravel.log" could not be opened: failed to open stream: permission denied 
Shell :: git temporarily ignore changes to tracked file 
Shell :: git pull changes from master 
Shell :: install react 16 
Shell :: install helm on wsl 
Shell :: get wifi password windows 
Shell :: git show last commit 
Shell :: CocoaPods specs repository is too out-of-date to satisfy dependencies. 
Shell :: how to pull submodules git 
Shell :: npm install mongoose error npm ERR! code ENOSELF 
Shell :: Error loading webview 
Shell :: jest vscode autocomplete 
Shell :: microsoft install mpi on ubuntu 
Shell :: npm install @reach/router 
Shell :: install jupyterlab with namba 
Shell :: install webpack version 
Shell :: expo keystore 
Shell :: make: g++: Command not found 
Shell :: keras version install in colab 
Shell :: git remove user email 
Shell :: install sudo 
Shell :: ubuntu get folder size 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =