Vanilla CLI Installation (Deprecated) - Vanilla Success
<main> <article class="userContent"> <h2 data-id="prerequisites">Prerequisites</h2><p>Vanilla CLI has the <a href="https://success.vanillaforums.com/kb/articles/155-local-setup-quickstart#prerequisites" rel="nofollow noreferrer ugc">same pre-requisites as Vanilla</a>.</p><h2 data-id="setup">Setup</h2><h3 data-id="installation-with-composer">Installation with Composer</h3><ol><li>Run <code class="code codeInline" spellcheck="false" tabindex="0">composer global require 'vanilla/vanilla-cli'</code>.</li><li>If your composer bin directory is on your path, you can now run the tool with <code class="code codeInline" spellcheck="false" tabindex="0">vanilla</code>. If you are having difficulty locating your composer bin directory it is likely located at <code class="code codeInline" spellcheck="false" tabindex="0">~/.composer/vendor/bin</code></li><li>You may also need to install sass. Can be done using <code class="code codeInline" spellcheck="false" tabindex="0">brew install sass/sass/sass</code></li></ol><h3 data-id="manual-installation">Manual Installation</h3><ol><li>Clone <a href="https://github.com/vanilla/vanilla-cli" rel="nofollow noreferrer ugc">this repo</a> to the installation directory <code class="code codeInline" spellcheck="false" tabindex="0">bash cd INSTALLATION_FOLDER git clone git@github.com:vanilla/vanilla-cli.git</code></li><li>Install the PHP dependancies in the directory where you clone this project. <code class="code codeInline" spellcheck="false" tabindex="0">bash cd vanilla-cli composer install</code></li><li>Run the tool <code class="code codeInline" spellcheck="false" tabindex="0">./bin/vanilla --help</code></li><li>Symlink the tool somewhere on your path. <code class="code codeInline" spellcheck="false" tabindex="0">ln -s ./bin/vanilla SOME_BIN_DIRECTORY</code></li></ol><p><br></p> </article> </main>