Getting Started - waffle-ops/waffle GitHub Wiki

TL;DR

curl -OL https://github.com/waffle-ops/waffle/releases/latest/download/waffle.phar
chmod +x waffle.phar
mv waffle.phar /usr/local/bin/wfl
wfl list

Install waffle.phar (Recommended)

  1. Ensure you have PHP installed.
  2. Ensure you have any other dependencies for your projects installed (composer, drush, etc...). These tools should be on your $PATH so that waffle can use them.
  3. Download the latest waffle.phar release page
  4. Move waffle.phar to a directory that is on you $PATH (ex /usr/local/bin/, a bash alias, etc...)
  5. Rename waffle.phar to wfl
  6. Make sure that wfl is executable
  7. That's it! Try running wfl list.

Install via Source

Note: Installing via source is recommended only if you planning on modifying the code.

  1. Ensure you have PHP installed.
  2. Ensure you have composer installed.
  3. Ensure you have any other dependencies for your projects installed (composer, drush, etc...). These tools should be on your $PATH so that waffle can use them.
  4. Clone the repository
  5. Run composer install in the project directory
  6. Add the executable at bin/wfl to your $PATH
  7. You should be all set. Try running wfl --version