Prerequisites
Vanilla CLI has the same pre-requisites as Vanilla.
Setup
Installation with Composer
- Run
composer global require 'vanilla/vanilla-cli'. - If your composer bin directory is on your path, you can now run the tool with
vanilla. If you are having difficulty locating your composer bin directory it is likely located at ~/.composer/vendor/bin
Manual Installation
- Clone this repo to the installation directory
bash cd INSTALLATION_FOLDER git clone git@github.com:vanilla/vanilla-cli.git - Install the PHP dependancies in the directory where you clone this project.
bash cd vanilla-cli composer install - Run the tool
./bin/vanilla --help - (Optional) Symlink the tool somewhere on your path.
ln -s ./bin/vanilla SOME_BIN_DIRECTORY