June 2017
Intermediate to advanced
536 pages
9h 49m
English
Much like PHPUnit, Behat can be installed as a tool and library. The tool version being the .phar archive, we can download it from the official GitHub repository, where the library version comes packed as a Composer package.
Assuming that we are using the Ubuntu 16.10 (Yakkety Yak) installation, installing the Behat as a tool is easy through the following commands:
wget https://github.com/Behat/Behat/releases/download/v3.3.0/behat.pharchmod +x behat.pharsudo mv behat.phar /usr/local/bin/behatbehat --version
This should give us the following output:

Installing Behat as a library is as easy as running the following console ...