How to install Switch Between Composer Version 1 and 2 in ubuntu
Install Composer
Link for reference : Download Link
-> Hits below command in open ubuntu terminal
->install composer globally hit below command
->check composer version
Command hits : composer
Switching Versions
you can change the version using composer self-update command.
if you want to switch composer 1 to composer 2 then you can hits below command
if you want to switch composer 2 to composer 1 then you can hists below command
Switching Specific Version
if you want to switch specific Versions. then hits below reference command
syntax : composer self-update (version name which you want to switch)
For Example
Update and Revert Version
if you want to update composer version using command line
you can hit below command
if you want to revert install version using command line
you can hit below command
Preview Version
The command below will allow you to get the pre-released version.
View Current Version
if you want to check current version
No comments:
Post a Comment
Thank You For Comment