You have to set the TYPO3_ENV var