# Clone the repo and change directory into it
git clone https://github.com/francisfuzz/aoc2022.git && cd aoc2022/
# Install the dependencies
npm install
# Option 1
# Run the build task to compile the TypeScript files, then run the file with `node`
npm run build
node dist/day1.js
# Option 2
# Use `ts-node` directly
npx ts-node day1/day1.ts
Originally forked from https://github.com/colindembovsky/aoc2021. Moved to its own repository so it is a root repo.