1FIRST METHOD :
2===============
3# uninstall the package
4composer global remove laravel/installer
5
6# reinstall
7composer global require laravel/installer
8
9SECOND METHOD :
10================
11
12Just upgraded from Laravel 7 to 8, and running
13 composer global require "laravel/installer:^4.0"
14
15did the trick for me (i.e., without removeing first)