diff --git a/docs/tutorial/setup.rst b/docs/tutorial/setup.rst index c21030f86..5b9792438 100644 --- a/docs/tutorial/setup.rst +++ b/docs/tutorial/setup.rst @@ -120,7 +120,7 @@ Assuming that you have a 64-bit system, on Linux, download and install Miniconda .. code:: console - $ wget https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh + $ curl -L https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh -o Mambaforge-Linux-x86_64.sh $ bash Mambaforge-Linux-x86_64.sh On MacOS with x86_64 architecture, download and install with @@ -165,11 +165,19 @@ First, we download some example data on which the workflow shall be executed: .. code:: console - $ wget https://github.com/snakemake/snakemake-tutorial-data/archive/v5.24.1.tar.gz - $ tar --wildcards -xf v5.24.1.tar.gz --strip 1 "*/data" "*/environment.yaml" + $ curl -L https://github.com/snakemake/snakemake-tutorial-data/archive/v5.24.1.tar.gz -o snakemake-tutorial-data.tar.gz + +Next we extract the data. On Linux, run + +.. code:: console + $ tar --wildcards -xf snakemake-tutorial-data.tar.gz --strip 1 "*/data" "*/environment.yaml" + +On MacOS, run + +.. code:: console + $ tar -xf snakemake-tutorial-data.tar.gz --strip 1 "*/data" "*/environment.yaml" This will create a folder ``data`` and a file ``environment.yaml`` in the working directory. -If your tar command does not provide a ``--wildcards`` flag, you can also just unpack the file without it (which will just leave some more unneeded files in the working directory). Step 3: Creating an environment with the required software ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::