Install Laravel Via Composer
- Installing:
composer global require laravel/installer
- Check that
laravel
is installed in this path~/composer/vendor/bin
cd ~/.composer/vendor/bin
To get the full path and to copy and set it on
/etc/paths
then we can usepwd
on~/composer/vendor/bin
- Insert the path on
/etc/paths
:
sudo vim /etc/paths
# ...
/Users/username/composer/vendor/bin # path inserted
Using laravel new
laravel new test-project
Top comments (0)