I recommend downloading and installing PyCharm. The community edition is free and excellent. If you have an academic email address you can obtain a licence for the full version for free. Alternatively, Visual studio is also popular.
You can also just use notepad, vim, nano etc but everything will be pointlessly harder.
Create a new project, and create a conda environment when prompted. If you want to do it the hard way you'll have to install Miniconda, then open a terminal and run:
# use conda
conda create -n snakemake python=3.12
conda activate snakemake
Open the terminal tab in your IDE and check that the correct conda env is activated. For this tutorial we need to install a couple of dependencies:
# install
conda install -c conda-forge -c bioconda snakemake minimap2 samtools
# check
snakemake --help
minimap2 --help
samtools --help
Grab the files from the official tutorial git:
# pull the files
git clone https://github.com/snakemake/snakemake-tutorial-data.git
# move the data directory
mv snakemake-tutorial-data/data .
# cleanup
rm -r snakemake-tutorial-data/