Vanilla CLI has the same pre-requisites as Vanilla.
Installation with Composer
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
- Clone this repo to the installation directory
bash cd INSTALLATION_FOLDER git clone email@example.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
- Symlink the tool somewhere on your path.
ln -s ./bin/vanilla SOME_BIN_DIRECTORY