NestJS 11 · CLI

Generate individual parts

Create a module, controller, service, guard, pipe or interceptor.

nest g module orders
nest g controller orders
nest g service orders
nest g guard auth

Official NestJS 11 documentation

More cli commands

All cli commands · NestJS 11 cheatsheet

Was this page helpful?