Create project folder, then open it in any code editor.
Open the terminal in your code editor or simply your operating system shell (i.e linux terminal or windows shell) with your folder path, and run the following command.
- npm init
Now run the following commands, to proceed with typescript installation.
- npm i -g typescript
- npm i -D typescript ts-node nodemon
- npm --init