There are 3 options for installation:
$> composer global require task/cli ~0.2
If you haven't installed anything this way before you'll need to update your PATH
:
export PATH=$PATH:$HOME/.composer/vendor/bin
Download from Github:
$> wget -O /usr/bin/task https://github.com/task/cli/releases/v0.2.0/task.phar
$> chmod +x /usr/bin/task
...
"require-dev": {
"task/cli": "~0.2"
}
...
Run at ./vendor/bin/task
.
When running the package tests, make sure to use the local install of Task CLI and not the global TaskPHP CLI install. e.g. './bin/task test'