- Install Node.js from nodejs.org
- use this folder for your project
git init(inside the current project folder)git init- Write your code in src/index.ts
P.S. If you are using VS Code, you can install the 'Prettier - Code formatter' plugin and enable the 'Format On Save' option in the VS Code settings or modify the file (settings are attached in the file)