If you want to use the docker image that has the datasets and commands preinstalled, do the following:
docker pull nextrevtech/commandline-book
If you want to download the data without docker, it's about 4Gb and you can do so by doing the following:
curl -O https://s3.amazonaws.com/amazon-reviews-pds/tsv/amazon_reviews_us_Digital_Ebook_Purchase_v1_00.tsv.gz && curl -O https://s3.amazonaws.com/amazon-reviews-pds/tsv/amazon_reviews_us_Digital_Ebook_Purchase_v1_01.tsv.gz