- Go to the Advent of Code website
- Login and get the session cookie
- Get the input here: https://adventofcode.com/2024/day/X/input
- Copy the folder
src/day-00and rename it to the specific day - Copy the sample inputs and actual inputs to the .txt files in the new folder
- In
src/index.ts, update the day number in the imports
- Run the following command to copy the folder and files, with the day number as an argument, from 1-25:
npm run copy 1Start a dry run for puzzle 01 or 02:
npm start 01
npm start 02Start a real run with the boolean for dry run false:
npm start 01 false
npm start 02 false