Install Craft CMS from a command line with composer. This tool is heavily inspired by the Laravel Installer.
-
Ensure that the
~/.composer/vendor/bin
is available in your terminal PATH.Note: my Oh My ZSH profile has this line:
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/username/.composer/vendor/bin"
Note: make sure you change
username
above -
Require
craft
globally by using this command:composer global require "venveo/craft-installer=dev-master"
-
Change to a new directory, such as
~/Sites
, and runcraft install mywebsite
.
Venveo is a Digital Marketing Agency for Building Materials Companies in Blacksburg, VA. Learn more about us on our website.
The MIT License (MIT). Please see License File for more information.