commands.sh

nest

all

Initialize, develop, and maintain Nest applications.

More info →

Options (4)

boolean

Display information about installed nest version

Example: nest {{[i|info]}}
boolean

Create a new NestJS project interactively

Example: nest {{[n|new]}}
-p, --package-managerboolean

Create a new NestJS project without prompting

Example: nest {{[n|new]}} {{project_name}} {{[-p|--package-manager]}} {{npm|yarn|pnpm}}
boolean

Generate a new component

Example: nest {{[g|generate]}} {{module|controller|service|...}} {{component_name}}

Examples (8)

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

made by @shridhargupta | data from tldr-pages