The CLI requires PHP
7.0 or greater installed to run. It also requires composer.
Some commands, currently
lint, require a minimum Node.js version of
8.3.0 and the package manager
yarn to be installed.
For OS X
brew install node
npm install -g yarn
For Debian/Ubuntu Linux
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install nodejs yarn
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
git clone [email protected]:vanilla/vanilla-cli.git
- Install the PHP dependancies in the directory where you clone this project.
- Run the tool
- (Optional) Symlink the tool somewhere on your path.
ln -s ./bin/vanilla SOME_BIN_DIRECTORY
We believe that online communities should be intuitive, engaging and true to your brand. Vanilla allows you to create a customized community that rewards positive participation, automatically curates content and lets members drive moderation.
Learn More …