Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

installing composer command line

Installing composer commandline
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
Comment

install composer

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '795f976fe0ebd8b75f26a6dd68f78fd3453ce79f32ecb33e7fd087d39bfeb978342fb73ac986cd4f54edd0dc902601dc') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
Comment

install composer

sudo apt install composer
Comment

composer for windows

Composer for Windows

https://getcomposer.org/Composer-Setup.exe
Comment

windows install composer

Just to download
https://getcomposer.org/download/
Comment

Install composer

//Update your packages:
sudo apt-get update

//Install Curl to get the composer library:
sudo apt-get install curl

//Installing composer:
sudo curl -s https://getcomposer.org/installer | php

//Move the composer file to bin path :
sudo mv composer.phar /usr/local/bin/composer

//Verify composer installation :
composer
Comment

where do you install composer

// Adding permissions after installing Composer on Mac OSX
sudo chmod 755 /usr/local/bin/composer.phar
Comment

composer install --

composer require tymon/jwt-auth --ignore-platform-reqs
Comment

install composer

Purge existing composer v1

sudo apt purge composer

Download composer-setup v2

curl -sS https://getcomposer.org/installer -o composer-setup.php

Use php to install Composer
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer

Check Composer Version
composer -V
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install as dev dependency 
Shell :: delete previous word vim 
Shell :: pip2 install 
Shell :: Failed to install the following Android SDK packages as some licences have not been accepted. 
Shell :: move a file in git 
Shell :: edge download ubuntu 
Shell :: git merge develop to feature 
Shell :: delete all files in linux 
Shell :: windows how to install and use RSAT tools 
Shell :: wp gitignore 
Shell :: certbot nginx certonly 
Shell :: restart gnome from terminal 
Shell :: install brew m1 mac 
Shell :: bundle lock add platform linux 
Shell :: grafana docker 
Shell :: how to make a tarball in linux 
Shell :: clone a git branch 
Shell :: extract tar.xz linux 
Shell :: or in matlab 
Shell :: git push reset 
Shell :: bash terminal function display all arguments 
Shell :: git ls files sort by date 
Shell :: django install pathlib 
Shell :: pyinstaller module not found 
Shell :: Error: Cannot tap homebrew/cask: invalid syntax in tap! 
Shell :: add user to debian 11 
Shell :: record audio with ffmpeg 
Shell :: docker created network and attach a docker container 
Shell :: npm uninstall package 
Shell :: resolve merge conflicts git 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =