Three ways to run a command
The CLI is installed with the framework, so it is always available inside a project. Pick whichever form suits your shell—they execute the same code.
npx noderyx make:controller PostController # via npx
npm run noderyx -- make:controller PostController # via npm script
noderyx make:controller PostController # after a global install
npm swallows flags unless you separate them with --. Write npm run live -- 8080, not npm run live 8080.