Getting started

Let’s start with Python

We’re finally here!

We need Python before we can start. To handle that we will use a tool called UV. Check out the documentation here if you are curious.

Installing UV

UV simplifies the process of installing and running Python, and can help us organise our various Python projects too.

Open the Mac Terminal by:

  1. Pressing Command (⌘) + Spacebar to open Spotlight Search
  2. Typing “Terminal” in the search field
  3. Pressing Return (Enter) to launch the Terminal

Next, copy-paste the following command into your terminal window, and then hit Return:

curl -LsSf https://astral.sh/uv/install.sh | sh

Congrats, you now have UV installed.

Open the bash terminal, and run the following command:

curl -LsSf https://astral.sh/uv/install.sh | sh

Congrats, you now have UV installed.

Open PowerShell by:

  1. Pressing the Windows key
  2. Typing “powershell”
  3. Clicking Windows PowerShell

Next, copy-paste the following command into your PowerShell window, and then hit Return:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Congrats, you now have UV installed.


Before continuing with this tutorial you should close and re-open your terminal/PowerShell in order to make sure that your newly installed UV is active.

Installing Python

Now that you have UV you can use it to install Python. Here’s the command:

uv python install

If you have any doubts, or if something went wrong and you have no idea what to do next, please ask a mentor!