If you don't want to install command-line utils globally, you have to specify it's paths. public $commands = [ 'styl' => ['css', '@app/node_modules/bin/stylus < {from} > {to}'], ]; close #5130