- Download VSCode
- [Recommended] Add these extensions to your VSCode workspace: Babel Javascript, ESLint, Tailwind CSS IntelliSense
- Open this project (File -> Open Folder -> YOUR_PATH_TO_FILE/hwu2023webdev)
- Make sure you can see this readme and hello_world.ts on VSCode
- Open a Terminal window on VSCode (Terminal -> New Terminal)
- Check if you have Node set up properly by typing "node -v". You should see 18.x.x or 19.x.x
- Check if you have npm by typing "npm -v". You should see >=9.x.x
- You will now install two packages with npm that will allow you to run .ts files:
- "npm install -g ts-node typescript '@types/node'"
- "npm i npx"
- Check everything has worked properly by running "ts-node hello_world.ts". If you see "Hello world!" get printed out, you're all set!