Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

update composer ubuntu

##update composer in ubuntu
#update packages
sudo apt-get update
#if you don't have curl install it
sudo apt-get install curl
#download installer
sudo curl -s https://getcomposer.org/installer | php
#move composer.phar file
sudo mv composer.phar /usr/local/bin/composer
#check composer version
composer -v
Comment

how to upgrade composer ubuntu

you need to first remove the composer

->sudo apt-get remove composer 

and then type the below command to install composer globally  

->sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer

for more info :
click on the link below
Comment

PREVIOUS NEXT
Code Example
Shell :: remove remote origin 
Shell :: rust change to nightly 
Shell :: ubuntu check graphics card info 
Shell :: install redis on mac pro 
Shell :: install java 17 ubuntu 
Shell :: install fira code vscode ubuntu 
Shell :: ubuntu flush dns 
Shell :: install wps ubuntu 
Shell :: reinit gitignore 
Shell :: windows kill port 
Shell :: git install on alpine 
Shell :: ls file size 
Shell :: command to update vlc in ubuntu 
Shell :: Please move or remove them before you merge. 
Shell :: how to install pyqt5 on windows 
Shell :: debian install node js 
Shell :: conda install transformers 
Shell :: install albumentations 
Shell :: see ports in use 
Shell :: install docker nvidia 2 
Shell :: how to know screen resolution linux 
Shell :: how to enable or disable test mode on windows 10 
Shell :: terminal get number of files in dir 
Shell :: mui install 
Shell :: install firebase angular 8 
Shell :: skript execute console command 
Shell :: install postman in linux 
Shell :: how to install and enable docker on command line with EC2 instance 
Shell :: install react 16 
Shell :: android_home ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =