Shell/Bash: how to update laravel installer Example

By

Shell/Bash Example: This is the "how to update laravel installer" Example. compiled from many sources on the internet by SimpleTutorials.org

how to update laravel installer

composer global update laravel/installer

update laravel version global

FIRST METHOD :
===============
# uninstall the package
composer global remove laravel/installer

# reinstall
composer global require laravel/installer
  
SECOND METHOD : 
================
  
Just upgraded from Laravel 7 to 8, and running 
  composer global require "laravel/installer:^4.0" 

did the trick for me (i.e., without removeing first)

how to update composer in laravel

composer global require "laravel/installer:^4.0"



* Summary: This "how to update laravel installer" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others