Working with the command line
If you are just getting started with web development, you might not be completely familiar with the command-line interface (CLI). Working with Composer, virtual machines, and Homestead, and later on with Artisan, Laravel's CLI utility, will require some interaction with it.
Here is how you can start with CLI:
- On Windows, look for the Command Prompt program. If you cannot find it, just navigate to Start | Run and type in
cmd.exe
. - On Mac OS X, CLI is called Terminal, and it can be found at
/Applications/Utilities
. - On Linux, depending on your distribution of Linux, it will be called Terminal or Konsole, but if you are running Linux, you are probably already familiar with it.
You do not need to have any advanced command-line skills to get through this book and build applications with Laravel. You will, however, need to be able to navigate to the right directory in your file system before running commands. To do this, just enter the cd
command, followed by the path...