diff --git a/src/Support/Process.php b/src/Support/Process.php index 0c7590a..8b3f3af 100644 --- a/src/Support/Process.php +++ b/src/Support/Process.php @@ -35,6 +35,7 @@ public static function run(string $cmd, mixed $output = null, ?string $cwd = nul $envs = [ 'PATH' => rtrim(`echo \$PATH`), + 'COMPOSER_HOME' => '~/.config/composer', 'COMPOSER_MEMORY_LIMIT' => '-1', 'COMPOSER_ALLOW_SUPERUSER' => 1, ] + $env;