nest cli install code example Example 1: nest cli $ npm install -g @nestjs/cli Example 2: npm i nestjs cli npm i @nestjs/cli