sparkison / craft
Install Craft CMS from the command line.
Requires
- guzzlehttp/guzzle: 6.*.*
- symfony/console: v3.2.*
This package is auto-updated.
Last update: 2026-03-06 03:40:10 UTC
README
#Craft Command Line Installer
Manage Craft from the command line with composer. This tool is heavily inspired by the Laravel Installer.
Requirements
Installation
-
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.
Contributing
Pull requests, contributions, issues and feature requests are always welcome... Although I would prefer a pull request for new features... ;)