{"id":11994,"date":"2022-03-09T04:37:27","date_gmt":"2022-03-09T09:37:27","guid":{"rendered":"http:\/\/local.brightwhiz\/?post_type=snippets&p=11994"},"modified":"2022-03-09T04:37:29","modified_gmt":"2022-03-09T09:37:29","slug":"how-to-update-composer-in-ubuntu-debian-systems","status":"publish","type":"snippets","link":"http:\/\/local.brightwhiz\/snippets\/how-to-update-composer-in-ubuntu-debian-systems\/","title":{"rendered":"How to Update Composer in Ubuntu | Debian Systems"},"content":{"rendered":"\n
Update composer Ubuntu and Debian-based systems.<\/p>\n\n\n\n
#update packages\n$sudo apt-get update\n\n#install curl if you don't have it\n$ sudo apt-get install curl\n\n#download composer installer\n$ sudo curl -s https:\/\/getcomposer.org\/installer | php\n\n#move composer.phar file\n$ sudo mv composer.phar \/usr\/local\/bin\/composer\n\n#check composer version\n$composer -v<\/code><\/pre>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","meta":[],"categories":[953,25,27,15,16,18],"tags":[954,193,350,424,544,591],"yoast_head":"\nHow to Update Composer in Ubuntu | Debian Systems [Snippet]<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n