Logo
Section 1 / 5

安装 NestJS CLI

使用 npm 全局安装 NestJS CLI。

导入

安装 NestJS CLI

使用 npm 全局安装 NestJS CLI。

1node -v 2npm -v

安装 NestJS CLI

使用 npm 安装 NestJS CLI,请在终端中执行以下命令:

1npm i -g @nestjs/cli
1nest --version
1nest --help
Terminal

开始学习

创建一个 NestJS 应用程序