Answer the question
In order to leave comments, you need to log in
How to change composer install path?
We have vps on centos 6.4. We go through ssh to the directory I need and execute the following command
curl -k -sS https://getcomposer.org/installer | php
composer global require "laravel/installer=~1.1"
Changed current directory to /root/.composer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
Answer the question
In order to leave comments, you need to log in
1) Don't run any commands as root
2) Don't use global if you don't want to install the package globally.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question