Files
tldr/pages/common/nest.md
T

644 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 in a directory of the same name:

nest {{[n|new]}} {{project_name}}

  • Build a specific NestJS project:

nest build {{project_name}}

  • Run a specific NestJS project:

nest start {{project_name}}

  • 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