This was shamelessly stolen from here
If you don't have Rust installed (how dare you) just run this:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
If you are not using a Unix-like OS, check the instructions here
git clone https://github.com/MrRobb/advent-of-code-2019.git
cd aoc2020
cargo build
cargo run
cargo run --bin day1