Skip to content

Instantly share code, notes, and snippets.

@4sskick
Created March 18, 2023 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 4sskick/1721a6551ce3cefa1f1025dfaf9e5e51 to your computer and use it in GitHub Desktop.
Save 4sskick/1721a6551ce3cefa1f1025dfaf9e5e51 to your computer and use it in GitHub Desktop.
Nestjs CLI installation generate new project
first time use NestJS and following the documentation. Doc is your friend tbh!
type 'npm i -g @nestjs/cli', done and I got error with some warning.
it said that my npm & angular-devtool version doesn't support and compatible. I don't knwo the detail.
Then I check for latest version lts Node and install it.
I use 'nvm install --lts' wait for done & check using 'nvm ls' it will show you the version of Node version you are using, mine is v18.15.0
re-type 'npm i -g @nestjs/cli' and got no error.
Time to generate new project, type 'nest new <project_name>' and would be asked to which package manager you wanna use, I choose NPM.
Wait till done and finish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment