I also have the advent of code package installed to import data: https://github.com/wimglenn/advent-of-code-data
Get session cookie: export AOC_SESSION=cafef00db01dfaceba5eba11deadbeef
Once the session cookie has been saved you can run the command: aocd 13 2018 > day13.txt # save some other day's data