Create custom dimension via console

Getting command doesn’t exist’ when running customdimensions:create-dimension via the console. Is that expected? Adding/removing custom dimension works as expected.