#Craft Command Line Installer
Manage Craft from the command line with composer. This tool is heavily inspired by the Laravel Installer.
-
Ensure that the
~/.composer/vendor/binis 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
usernameabove -
Require
craftglobally by using this command:composer global require "themccallister/craft=dev-master" -
Change to a new directory, such as
~/Sites, and runcraft install mywebsite.com.
Pull requests, contributions, issues and feature requests are always welcome... Although I would prefer a pull request for new features... ;)