sudo composer install laravel code example Example: insall laravel composer global require laravel/installer laravel new blog