A 22 minute video demonstration of using the Kaggle Command Line Interface (CLI) to download datasets to a Linux virtual machine.
If you would prefer a written tutorial, please visit this site: https://holowczak.com/downloading-kaggle-data-sets-using-the-linux-command-line/
(c) 2024 R. Holowczak
# Enable the Compute Engine API
https://support.google.com/googleapi/answer/6158841?hl=en
# Dataset
https://www.kaggle.com/datasets/najzeko/steam-reviews-2021
# Linux commands used
# Set up Kaggle API Token file
## Upload kaggle.json file
mkdir .kaggle
mv kaggle.json .kaggle/
chmod 600 .kaggle/kaggle.json
# Install Python tools
sudo apt -y install zip
sudo apt -y install python3-pip python3.11-venv
# Create a Python virtual environment
python3 -m venv pythondev
cd pythondev
source bin/activate
# Install kaggle command line interface (CLI)
pip3 install kaggle
# List kaggle datasets
kaggle datasets list
# Download a Kaggle Dataset
kaggle datasets download -d najzeko/steam-reviews-2021
Download
0 formats
No download links available.
Downloading Kaggle Data Sets using the Linux Command Line | NatokHD