E
E
Elena2016-12-14 12:24:21
Yii
Elena, 2016-12-14 12:24:21

How to set PATH environment variable in yii2 codeception?

Installed globally

composer global require "codeception/codeception=2.0.*"
composer global require "codeception/specify=*"
composer global require "codeception/verify=*"

The executable files are in /home/username/.composer/vendor/bin. You need to set the PATH environment variable so that it looks there too. To run, you need to set the PATH environment variable.
To do this, in the .bashrc (Ubuntu) file, I enter export PATH="/home/username/.composer/vendor/bin:$PATH" But what should I put in place of $PATH after the colon? This has not been written about.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
craigy_waigy, 2017-05-05
@craigy_waigy

PATH=$PATH:/root/.composer/vendor/bin
export PATH

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question