Is there a recommended way to update NestJS?

You can use the Nest CLI to update the dependencies:

$ npm install -g @nestjs/cli
$ nest update

You can also $ nest u

As Mick mentioned in his comment, you might have to add --force
argument.

nest update --force

Update – July 7 2022

Since v9.0.0 release, the command update was removed.
To upgrade your dependencies, you can use dedicated tools like ncu, npm update, yarn upgrade-interactive, etc.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)