759 B
759 B
nest
Initialize, develop, and maintain Nest applications. More information: https://docs.nestjs.com/cli/overview.
- Display information about installed nest version:
nest {{[i|info]}}
- Create a new NestJS project interactively:
nest {{[n|new]}}
- Create a new NestJS project without prompting:
nest {{[n|new]}} {{project_name}} {{[-p|--package-manager]}} {{npm|yarn|pnpm}}
- Build the NestJS project in the current working directory:
nest build
- Run the NestJS project in the current working directory:
nest start
- Import a library into the current NestJS project:
nest add {{library_name}}
- Generate a new component:
nest {{[g|generate]}} {{module|controller|service|...}} {{component_name}}
- Display help:
nest