Getting error while installing laravel installer in window 10

后端 未结 5 917
面向向阳花
面向向阳花 2021-02-08 08:27

I am using Windows 10 and composer is installed. When I try to install laravel installer globally using this command:

composer global r         


        
5条回答
  •  孤街浪徒
    2021-02-08 09:11

    To resolve this, configure composer to use the https repository by running the following command on the cli before installing Laravel

    composer config -g repo.packagist composer https://packagist.org

提交回复
热议问题