--- layout: bootstrap title: Codeception Installation ---

Phar (Recommended)

Download Codeception

Grab Codeception phar executable

wget http://codeception.com/codecept.phar .

Prepare tests directory and configs

php codecept.phar bootstrap

Composer

Install a Composer to your project's root

Run

php composer.phar require "codeception/codeception:@stable"

From now on Codeception (with installed PHPUnit) can be run as:

vendor/bin/codecept

Initialize your testing environment with

vendor/bin/codecept bootstrap