Problems installing composer

0

I'm installing composer on my pc and it gives me the following error

  

The APP_DATA or COMPOSER_HOME environment variable must be set for   Composer to run correctly.

I have xampp with version 7.2, but I do not know what environment variable, I have to configure it.

The installation of that same program was done on another PC and it worked.

The installation I'm doing in windows 7

I would appreciate your help

    
asked by Henry Manuel 02.08.2018 в 14:18
source

1 answer

0

On your command line type:

SET COMPOSER_HOME="C:\ruta\a\composer"

And then perform a composer self-update.

composer self-update
    
answered by 02.08.2018 в 14:37