# Xsuite Tutorial: Prerequisites
We will carry out the tutorial using a Jupyter notebook. If you would like to follow along on your own machine in parallel, you can use the following guite to set up your own environment beforehand. If you have any issues setting up, don't hesitate to reach out to us!
## 1. Install Miniforge
Let's start by setting up a conda. If you already have a conda distribution installed (be it Miniforge, Miniconda, or Anaconda), feel free to skip to step 2.
Miniforge is a conda distribution with `conda-forge` set up as the default channel. You can install it with the following commands[^conda] on Linux, macOS, or Windows with WSL[^wsl]:
```bash
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh
```
Follow along with the instructions until miniforge is installed in your preferred location. Afterwards it may be necessary to close and reopen your terminal to be able to carry on with the next points.
## 2. Set up the environment
For best results, we set up a new environment for the purposes of the tutorial. This ensures that you start fresh, minimising the risk of unwanted interactions with other software, and ensures that you benefit from the latest version of Xsuite.
Along with Xsuite we install compilers (which are necessary for Xsuite to run), and some Python libraries which we will need. If you have skipped step 1, and are not using Miniforge (but instead Anaconda or Miniconda), note you may need to pass an additional flag `-c conda-forge` to the `conda install ...` commands below.
```bash
conda create -n xsuite-tutorial python=3.10
conda activate xsuite-tutorial
conda install compilers
conda install pip
pip install xsuite matplotlib jupyter
```
## 3. Check the installation
Launch Jupyter Notebook with `jupyter notebook`, and verify that Xsuite is correctly installed by running:
```python
import xtrack as xt
xt.__version__ # => returns version >=0.36.5
```
[^conda]: More details: https://github.com/conda-forge/miniforge
[^wsl]: If you're on Windows and do not have WSL (Windows Subsystem for Linux) you can install it following [these instructions](https://learn.microsoft.com/en-us/windows/wsl/install), or alternatively try following [this guide](https://github.com/conda-forge/miniforge#windows) on the Miniforge GitHub page.