Installing Laravel Installer Globally on macOS Catalina

Ian Conway
2 min readDec 27, 2019

The Laravel Installer provides a simple and easy to use command to spin up new Laravel projects. These instructions will help you install the Laravel Installer on macOS Catalina.

To get started, install the Laravel Installer globally with Composer.

composer global require "laravel/installer"

Next, edit your bash profile using Nano (or your editor of choice):

nano ~/.bash_profile

Add the following line:

export PATH="$PATH:$HOME/.composer/vendor/bin"

Press CTRL + X to exit Nano. If you are prompted to save the file, enter Y, and then press enter. If you are not prompted to save the file, no worries, just press enter.

Finally, close and reopen your terminal window, or you can use the source command to reload the bash profile.

source ~/.bash_profile

To test the installation, type the laravel command. If the installation was successful, you will see something like this:

Laravel Installer 3.0.1Usage:
command [options] [arguments]
Options:
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Available commands:
help Displays help for a command
list Lists commands
new Create a new Laravel application

--

--

Ian Conway
Ian Conway

Written by Ian Conway

I am a PHP developer here to inspire others.

Responses (1)