Yii 2.0 Authorization

After executing yii rbac/init I get this error, Error: Unknown command "rbac/init" anybody knows why?

Because there is no rbac/init command.

To init rbac table just run migrate command:


./yii migrate rbac/init