laravel upgrade installer code example
Example 1: how to update laravel installer
composer global update laravel/installer
Example 2: how to update composer in laravel
composer global require "laravel/installer:^4.0"
composer global update laravel/installer
composer global require "laravel/installer:^4.0"