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 :: raspberry pi headless 
Shell :: powershell copy file content to clipboard 
Shell :: git ignore all files and folders in folder 
Shell :: putty export / download all sessions 
Shell :: how to put a youtube video in github description 
Shell :: echo new line to file 
Shell :: cmd file list to text 
Shell :: shell script to find sum of n numbers using for loop 
Shell :: cuda 10 install pytorch 
Shell :: wsl2 ubuntu xfce 
Shell :: open /var/lib/docker/tmp/buildkit-mount140273675/Dockerfile.base: no such file or directory 
Shell :: To install Scrapy on Ubuntu (or Ubuntu-based) systems 
Shell :: how to upgrade pnpm 
Shell :: how to compare percentage value in shell script 
Shell :: access wiindows host from wsl2 
Shell :: proxy shell 
Shell :: merge when pipeline succeeds gitlab 
Shell :: Pull Ubuntu image 
Shell :: sudo apt update not working 
Shell :: install pkgbuild arch 
Shell :: stern install mac 
Shell :: brownie list saved accounts 
Shell :: powershell open current path in explorer 
Shell :: revert changes to all files of a type git 
Shell :: how to kill running process in linux 
Shell :: how to rename a file on cmd prompt to current date 
Shell :: upload local to remote ssh 
Shell :: split large file 
Shell :: chsh pam authentication failure 
Shell :: install material table formik 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =