Back to Explore

nestjs/nest-cli

GitHub
13 updates · last 90 daysOpen source

Last release:

Nest CLI is a command-line interface tool for Nest applications. It helps you initialize, develop, and maintain apps, including scaffolding a project, serving in development mode, and building and bundling for production. It works with Nest schematics (such as @nestjs/schematics) to encourage well-structured applications.

Project status

  • Actively maintained: the repository was pushed on 2026-10-28, and updates continued through 2026-10-27.
  • Updates have been frequent, with several in September and October, sometimes only days apart.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 12.0.12

    Nest CLI 12.0.12 adds the `nest new --minimal` option and fixes project-aware generation, custom schematic collection resolution, asset watching, package installation names, and subcommand flag handling. It also updates Rspack configuration to use native tsconfig path resolution and improves project creation in non-interactive terminals.

    Features
  • 12.0.11

    Nest CLI 12.0.11 fixes TypeScript path alias rewriting for dynamic imports and declaration-file import types, improves native watcher event handling, and preserves Ctrl+C in SWC watch mode. The diff shows no public API signature or export changes, but includes additional watcher behavior and repository packaging changes not called out in the release notes.

  • 12.0.10

    Release 12.0.10 adds an interactive flow to help link projects to NestJS Observe during the `nest upgrade` process. After the upgrade, if `@nestjs/observe` was newly added and the environment is interactive, the CLI can run `@nestjs/observe`'s `observe link`, otherwise it prints follow-up instructions using environment variable based hints.

    Features
  • 12.0.9

    Release 12.0.9 includes several CLI fixes around watch mode behavior, tsconfig path handling, dry-run handling for library setup, and improved handling of `taskkill` on already-exited processes. It also adds an interactive prompt in `nest new` to link the new project to `@nestjs/observe`.

    Features
  • 12.0.8

    Release 12.0.8 contains compiler regressions fixes focused on CommonJS output behavior and aliased re-exports. It adds targeted changes to rspack and webpack default output configuration and adjusts tsconfig path hook behavior to preserve export name generation for decorator-related cases.

  • 12.0.7

    Release 12.0.7 contains two targeted fixes in the Nest CLI compilers. It ensures SWC type checking is forked with the application-specific compiler plugins, and it corrects handling of absolute tsconfig paths for the Webpack compiler.

  • 12.0.6

    Release 12.0.6 updates compiler behavior around SWC source root resolution per application, and improves TypeScript `paths` alias handling to resolve relative to the declaring tsconfig. It also adds support for asset entries to opt out of automatic app restart on file changes in watch mode, alongside dependency updates.

    Features
  • 12.0.5

    Release 12.0.5 updates the SWC-based compiler to better match SWC and TypeScript behavior. It adds JSONC parsing support for .swcrc and improves ESM output and tsconfig paths handling when using the swc builder.

    Breaking
  • 12.0.4

    Release 12.0.4 for @nestjs/cli does not include any publisher-provided release notes. The only detected code diff is a version bump in package.json and package-lock.json, with no functional changes visible in the provided diff.

  • 12.0.3

    Release 12.0.3 changes the default response for the new project observability prompt. In interactive terminals, the prompt now defaults to enabling observability, while non-interactive environments keep the observability option off.

    Breaking
  • 12.0.2

    Release 12.0.2 is a small CLI update (chore) focused on changes around the @nestjs/observe prompt flow. The code also includes dependency version bumps (types and dev tooling) in package.json and package-lock.json.

  • 12.0.1

    Release 12.0.1 focuses on compiler and CLI fixes around ESM correctness, asset copying, and improved error reporting when loading plugins. It also updates default ignore rules for TypeScript build cache files and includes targeted improvements for watch mode behavior and narrow-terminal formatting.

    Features
  • 12.0.0

    Nest CLI 12.0.0 is a major release that switches @nestjs/cli to native ESM and introduces new commands, nest upgrade and nest deploy. It also stops bundling webpack and instead relies on optional peer dependencies, while making build output path handling safer by default and adding monorepo-related build improvements like parallel builds and asset-library support.

    BreakingFeatures
  • 11.0.24

    Release 11.0.24 primarily improves the TypeScript integration by adding a fail-fast check for TypeScript versions that do not expose the required programmatic compiler API. It also refines command error reporting in runners to avoid duplicating the binary name, and includes minor refactors (language list placement, and removal of an unused gulp helper).

    Breaking
  • 11.0.23

    Release 11.0.23 reverts two compiler-related safeguards: validation of asset output paths and validation of outDir deletion paths. As a result, the code paths involved in copying assets and deleting output directories no longer enforce the previous restriction against operating outside the project directory.

    Breaking
  • 11.0.22

    Release 11.0.22 includes CLI/compiler fixes around plugin loading on Windows path separators, stricter validation of asset output destinations, and updates to the generate command to support new --type and more flexible --crud option handling. The code diff also shows additional shutdown behavior changes in the start command and new filesystem safety checks not mentioned in the release notes.

    BreakingFeatures
  • 11.0.21

    Release 11.0.21 is described only as a revert of a prior change (revert #3315 due to #3390). The code diff shows a substantial behavioral change in AssetsManager watcher shutdown logic and removal of its unit tests, none of which is mentioned in the release notes.

  • 11.0.20

    Release 11.0.20 focuses on build and watch-mode reliability fixes, mainly around SWC watching behavior and orderly asset watcher shutdown. It also updates tooling dependencies (including the SWC monorepo) and improves type-safety for error handling in a few utilities.

  • 11.0.19

    Release 11.0.19 focuses on fixing tsconfig paths handling, improving declaration file generation, and small UX and type corrections. It also updates Angular CLI-related dependencies (and other transitive deps from the lockfile refresh).

    Features
  • 11.0.18

    Nest CLI 11.0.18 includes a set of watch-mode and build/shutdown related fixes, plus stricter CLI argument validation. The release also updates several dependencies, notably Angular DevKit tooling and some development tooling used by the repo.

    Breaking